Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = &http.Client{ Transport: DefaultTransport, }
DefaultClient is the default Client and is used by Get, Head, and Post.
View Source
var DefaultTransport = &http.Transport{ Proxy: http.ProxyFromEnvironment, Dial: (&net.Dialer{ Timeout: 15 * time.Second, KeepAlive: 90 * time.Second, }).Dial, TLSHandshakeTimeout: 3 * time.Second, }
DefaultTransport is the default implementation of Transport and is used by DefaultClient.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.