Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadStream ¶ added in v0.1.8
func SetHTTPClient ¶ added in v0.1.21
SetHTTPClient installs a process-wide HTTP client used for all requests issued by this package. Passing nil clears the override and restores http.DefaultClient behavior.
This must be called before any request is issued, e.g. from main's Before: hook, so that all callers observe the override.
Types ¶
type HTTPStatusError ¶ added in v0.1.17
HTTPStatusError is returned when an HTTP request returns a non-2xx status code.
func (*HTTPStatusError) Error ¶ added in v0.1.17
func (e *HTTPStatusError) Error() string
Click to show internal directories.
Click to hide internal directories.