first drafts for inventory sync page
This commit is contained in:
@@ -12,6 +12,7 @@ type (
|
||||
Status(int) Response
|
||||
Redirect(code redirect.Code, to string) Response
|
||||
Body(io.ReadCloser) Response
|
||||
HTML([]byte) Response
|
||||
JSON(any) Response
|
||||
Cookie(http.Cookie) Response
|
||||
|
||||
@@ -19,6 +20,7 @@ type (
|
||||
getBody() (body io.ReadCloser, ok bool, err error)
|
||||
getRedirect() (code redirect.Code, to string, ok bool)
|
||||
getCookies() []http.Cookie
|
||||
getContentType() (contentType string, ok bool)
|
||||
|
||||
wrap(Response) Response
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user