Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Response ¶
Response helps handle responses
func (*Response) DiscardBody ¶
DiscardBody drain and close response Body, so connections are properly closed
func (*Response) IsSuccessful ¶
IsSuccessful returns true if no networ error occured and status code < 400
Click to show internal directories.
Click to hide internal directories.