Documentation ¶
Index ¶
Constants ¶
View Source
const CACertKey = "certCA"
Variables ¶
View Source
var DefaultTransport = &http.Transport{ Proxy: http.ProxyFromEnvironment, DialContext: (&net.Dialer{ Timeout: 5 * time.Second, KeepAlive: 30 * time.Second, }).DialContext, ForceAttemptHTTP2: true, MaxIdleConns: 100, IdleConnTimeout: 90 * time.Second, TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second, }
DefaultTransport is a copy of the standard http DefaultTransport.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.