Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents an HTTP client.
type Response ¶
type Response struct { Status int Header http.Header Body io.ReadCloser }
Response defines an HTTP response.
type TokenAuth ¶
type TokenAuth struct { Base http.RoundTripper Token string }
TokenAuth is an http.RoundTripper that makes HTTP requests, wrapping a base RoundTripper and adding a bearer token authorization header.
Click to show internal directories.
Click to hide internal directories.