# Functions
JoinDir joins dir and path if path is relative.
LoadHTTPConfig parses the YAML input s into a HTTPClientConfig.
LoadHTTPConfigFile parses the given YAML file into a HTTPClientConfig.
NewAuthorizationCredentialsFileRoundTripper adds the authorization credentials read from the provided file to a request unless the authorization header has already been set.
NewAuthorizationCredentialsRoundTripper adds the provided credentials to a request unless the authorization header has already been set.
NewBasicAuthRoundTripper will apply a BASIC auth authorization header to a request unless it has already been set.
No description provided by the author
NewTLSConfig creates a new tls.Config from the given TLSConfig.
No description provided by the author
NewUserAgentRoundTripper adds the user agent every request header.
WithDialContextFunc allows you to override func gets used for the actual dialing.
WithHTTP2Disabled allows to disable HTTP2.
WithIdleConnTimeout allows setting the idle connection timeout.
WithKeepAlivesDisabled allows to disable HTTP keepalive.
WithUserAgent allows setting the user agent.
# Variables
DefaultHTTPClientConfig is the default HTTP client configuration.
No description provided by the author
# Structs
Authorization contains HTTP authorization credentials.
BasicAuth contains basic HTTP authentication credentials.
HTTPClientConfig configures an HTTP client.
OAuth2 is the oauth2 client configuration.
TLSConfig configures the options for TLS connections.
URL is a custom URL type that allows validation at configuration load time.
# Interfaces
DirectorySetter is a config type that contains file paths that may be relative to the file containing the config.
# Type aliases
DialContextFunc defines the signature of the DialContext() function implemented by net.Dialer.
No description provided by the author
HTTPClientOption defines an option that can be applied to the HTTP client.
Secret special type for storing secrets.
No description provided by the author