Versions in this module Expand all Collapse all v1 v1.0.0 Jun 22, 2023 Changes in this version + var DefaultClient = NewClient(nil) + func NewClient(c *http.Client) transport.Transport + func NewClientWithOptions(c *http.Client, opts *ClientOptions) transport.Transport + func NewErr(r *http.Response) error + type AuthMethod interface + SetAuth func(r *http.Request) + type BasicAuth struct + Password string + Username string + func (a *BasicAuth) Name() string + func (a *BasicAuth) SetAuth(r *http.Request) + func (a *BasicAuth) String() string + type ClientOptions struct + CacheMaxEntries int + type Err struct + Response *http.Response + func (e *Err) Error() string + func (e *Err) StatusCode() int + type TokenAuth struct + Token string + func (a *TokenAuth) Name() string + func (a *TokenAuth) SetAuth(r *http.Request) + func (a *TokenAuth) String() string