Documentation
¶
Index ¶
- func CheckHTTPCode(resp *http.Response, expectedCodes ...int) error
- func ResponseBytes(resp *http.Response) ([]byte, error)
- func ResponseCustomMarshal(resp *http.Response, marshal func([]byte, any) error, result interface{}) error
- func ResponseJSON(resp *http.Response, result interface{}) error
- func ResponseText(resp *http.Response) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseCustomMarshal ¶
func ResponseJSON ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.