Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultTimeout = time.Second * 15
Variables ¶
View Source
var DefaultClient = &http.Client{ Transport: DefaultTransport, }
DefaultClient is a http.Client using the DefaultTransport.
View Source
var DefaultTransport = &http.Transport{ Dial: (&net.Dialer{Timeout: DefaultTimeout}).Dial, TLSHandshakeTimeout: DefaultTimeout, ForceAttemptHTTP2: false, }
DeafultTransport is a http.Transport with a 15 second dial and TLS handshake timeout and HTTP/2 support disabled.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.