basic account creation flow created
This commit is contained in:
@@ -60,6 +60,54 @@ func (h htmlRes) Cookie(ck http.Cookie) Response {
|
||||
return Cookie(ck).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXPushURL(v string) Response {
|
||||
return HXPushURL(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXLocation(v string) Response {
|
||||
return HXLocation(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXPushUrl(v string) Response {
|
||||
return HXPushUrl(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXRedirect(v string) Response {
|
||||
return HXRedirect(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXRefresh(v string) Response {
|
||||
return HXRefresh(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXReplaceUrl(v string) Response {
|
||||
return HXReplaceUrl(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXReswap(v string) Response {
|
||||
return HXReswap(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXRetarget(v string) Response {
|
||||
return HXRetarget(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXReselect(v string) Response {
|
||||
return HXReselect(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXTrigger(v string) Response {
|
||||
return HXTrigger(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXTriggerAfterSettle(v string) Response {
|
||||
return HXTriggerAfterSettle(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) HXTriggerAfterSwap(v string) Response {
|
||||
return HXTriggerAfterSwap(v).wrap(h)
|
||||
}
|
||||
|
||||
func (h htmlRes) GetStatus() (int, bool) {
|
||||
if h.res == nil {
|
||||
return 0, false
|
||||
@@ -68,6 +116,13 @@ func (h htmlRes) GetStatus() (int, bool) {
|
||||
return h.res.GetStatus()
|
||||
}
|
||||
|
||||
func (h htmlRes) getHeaders() [][2]string {
|
||||
if h.res != nil {
|
||||
return h.res.getHeaders()
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (h htmlRes) GetRedirect() (code redirect.Code, to string, ok bool) {
|
||||
if h.res == nil {
|
||||
return 0, "", false
|
||||
|
||||
Reference in New Issue
Block a user