# Functions
NewBasicAuthRoundTripper will apply a BASIC auth authorization header to a request unless it has already been set.
NewBearerAuthRoundTripper adds the provided bearer token to a request unless the authorization header has already been set.
NewClient returns a http.Client using the specified http.RoundTripper.
NewClientFromConfig returns a new HTTP client configured for the given config.HTTPClientConfig.
NewClientFromConfigAndOptions returns a new HTTP client configured for the given config.HTTPClientConfig, optionally disabling HTTP keepalive.
NewTLSConfig creates a new tls.Config from the given config.TLSConfig.
# Structs
CompressionHandler is a wrapper around http.Handler which adds suitable response compression based on the client's Accept-Encoding headers.