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