Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPClient ¶
type HTTPClient interface { // Do sends the HTTP request, returning the subsequent response. Do(req *http.Request) (*http.Response, error) }
HTTPClient is an API-specific HTTP client.
type HTTPDoer ¶
type HTTPDoer interface { // Do sends the given request. Do(context context.Context, req *http.Request, resp interface{}) error }
HTTPDoer exposes the functionality of httprequest.Client needed here.
Click to show internal directories.
Click to hide internal directories.