Documentation ¶
Index ¶
- Variables
- func AllowRedirect(req *http.Request, allow bool)
- func CheckRedirect(req *http.Request, via []*http.Request) error
- func NewClient(transport *http.Transport) *http.Client
- func NewTransport() *http.Transport
- func Retry(body io.Seeker, do func() (*http.Response, error)) (rsp *http.Response, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = NewClient(DefaultTransport)
View Source
var DefaultRetryCount = 10
View Source
var DefaultTransport = NewTransport()
Functions ¶
func AllowRedirect ¶
func NewTransport ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.