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 = NewDefaultTransport()
DeafultTransport is a http.Transport with a 15 second dial and TLS handshake timeout and HTTP/2 support disabled.
Functions ¶
func NewDefaultTransport ¶
NewDefaultTransport returns a new default http.Transport with a 15 second dial and TLS handshake timeout and HTTP/2 support disabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.