# Functions
HostsToConnectionString creates a connection string using the provided hosts.
IsMethodIdempotent returns a boolean indicating whether the given method is idempotent.
IsTemporaryError returns a boolean indicating whether the provided error is a result of a temporary failure and should be retried.
IsTemporaryFailure returns a boolean indicating whether the provided status code represents a temporary error and should be retried.
NewHTTPTransport returns a new HTTP transport using the given TLS config and timeouts.
ReconstructIPV6 returns a new string where a valid unwrapped IPv6 address is wrapped with '[' and ']'.
ToCouchbaseSchema converts the schema prefix for the given host from http/https to couchbase/couchbases.
TrimSchema trims known schema prefixes from the given host.
# Variables
TemporaryErrorMessages is a slice of known error messages which may be returned by the Go standard library when attempting to perform network operations.
TemporaryFailureStatusCodes is a slice of temporary status codes which should be retried by default.
# Structs
HTTPTimeouts encapsulates the timeouts for a HTTP client into an object which can be parsed as an environment variable.