Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClient ¶
DefaultClient returns a new http.Client with the same default values as http.Client, but with a non-shared Transport
func DefaultTransport ¶
DefaultTransport returns a new http.Transport with the same default values as http.DefaultTransport
func SetTransportFinalizer ¶ added in v0.5.0
SetTransportFinalizer sets a finalizer on the transport to ensure that idle connections are closed prior to garbage collection; otherwise these may leak
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.