Documentation ¶
Overview ¶
Package transport contains HTTP transports used to make authenticated API requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
type APIKey struct { // Key is the API Key to set on requests. Key string // Transport is the underlying HTTP transport. // If nil, http.DefaultTransport is used. Transport http.RoundTripper }
APIKey is an HTTP Transport which wraps an underlying transport and appends an API Key "key" parameter to the URL of outgoing requests.
Click to show internal directories.
Click to hide internal directories.