Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ClientFromOpts ¶
func ClientFromOpts(opts ClientOpts) *http.Client
Types ¶
type Err ¶
Err is a dedicated error to return errors based on status code
func (*Err) StatusCode ¶
StatusCode returns the status code of the response
type UnexpectedError ¶
type UnexpectedError struct {
Err error
}
func NewUnexpectedError ¶
func NewUnexpectedError(err error) *UnexpectedError
func (*UnexpectedError) Error ¶
func (e *UnexpectedError) Error() string
Click to show internal directories.
Click to hide internal directories.