Documentation ¶
Index ¶
- func AddAppHeaders(req *http.Request)
- func AddUserHeaders(jwtToken string, req *http.Request)
- func CloseBody(Body io.ReadCloser)
- func GetRequestPayload(obj interface{}) (*strings.Reader, error)
- func GetRoute(route string, args ...string) (string, error)
- func MakeRequest(req *http.Request) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAppHeaders ¶
func AddUserHeaders ¶
func CloseBody ¶
func CloseBody(Body io.ReadCloser)
func GetRequestPayload ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.