package
0.0.0-20241108122401-0eb90874fe81
Repository: https://github.com/replicate/go.git
Documentation: pkg.go.dev

# Functions

ApplyRetryPolicy wraps an HTTPClient with one that has a retry policy.
DefaultClient returns a new http.Client with similar default values to http.Client, but with a non-shared Transport, idle connections disabled, and keepalives disabled.
DefaultPooledClient returns a new http.Client with similar default values to http.Client, but with a shared Transport.
DefaultPooledRoundTripper returns an http.RoundTripper with similar default values to http.DefaultTransport.
DefaultPooledTransport returns a new http.Transport with similar default values to http.DefaultTransport.
DefaultRoundTripper returns an http.RoundTripper with similar default values to http.DefaultTransport, but with idle connections and keepalives disabled.
PooledEgressRoundTripper returns an http.RoundTripper designed to call arbitrary 3rd-party endpoints.

# Constants

No description provided by the author