Documentation
¶
Index ¶
Constants ¶
View Source
const TimeoutClientInSeconds = 40
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClientInterface ¶
type HttpClientInterface interface { Do(*http.Request) (*http.Response, error) Get(url string) (resp *http.Response, err error) PostForm(url string, data url.Values) (resp *http.Response, err error) }
func DefaultClient ¶
func DefaultClient() HttpClientInterface
DefaultClient returns a default HTTP client with a timeout.
Click to show internal directories.
Click to hide internal directories.