# Functions
DefaultClientConfig creates default configuration for client.
NewBasicAuthRoundTripper returns a Basic Auth round tripper.
NewConfigFromURL returns a Config based on a received host.
NewDebugRoundTripper wraps an existing http.RoundTripper into a DebugRoundTripper that will log the call executed to the service.
NewUserAgentRoundTripper returns a new UserAgentRoundTripper.
NewWithConfig takes a Config and return a client.
NewWithRawConfig returns a new client with a specified configuration.
# Constants
ProtocolHTTP is HTTP protocol connection.
ProtocolHTTPS is HTTPS protocol connection.
# Structs
BasicAuthRoundTripper wraps any request using a basic auth.
Client wraps an http.Client and takes care of making the raw calls, the client should stay simple and specificals should be implemented in external action instead of adding new methods to the client.
Config is the configuration for the client.
DebugRoundTripper is a debugging RoundTripper that can be inserted in the chain of existing http.RoundTripper.
UserAgentRoundTripper adds a User-Agent string on every request.
# Type aliases
Protocol define the protocol to use to make the connection.