Documentation
¶
Index ¶
- type API
- func (api *API) Authenticate(r *http.Request) error
- func (api *API) GetToken() (*Token, error)
- func (api *API) RoundTrip(r *http.Request) (*http.Response, error)
- func (api *API) WithContext(ctx context.Context) *API
- func (api *API) WithHTTPTransport(rt http.RoundTripper) *API
- func (api *API) WithURL(url string) *API
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
func (*API) WithHTTPTransport ¶
func (api *API) WithHTTPTransport(rt http.RoundTripper) *API
Click to show internal directories.
Click to hide internal directories.