Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFullyJSON ¶
ReadFullyJSON reads a http response into a data container using a json decoder. The response is checked for its status code and the http.Response.Body is closed.
func ReadFullyString ¶
ReadFullyString reads a http response into a string. The response is checked for its status code and the http.Response.Body is closed.
Types ¶
type DecodeError ¶
type DecodeError struct {
// contains filtered or unexported fields
}
DecodeError represents an error related to unmarshalling.
type HTTPStatusCodeError ¶
type HTTPStatusCodeError struct {
// contains filtered or unexported fields
}
HTTPStatusCodeError represents an 4xx client or a 5xx server error.
Click to show internal directories.
Click to hide internal directories.