package
0.9.0
Repository: https://github.com/datadog/datadog-agent.git
Documentation: pkg.go.dev

# Functions

CreateHTTPTransport creates an *http.Transport for use in the agent.
GetProxyTransportFunc return a proxy function for a http.Transport that would return the right proxy depending on the configuration.
NewResetClient returns an initialized Client resetting connections at the passed resetInterval ("0" means that no reset is performed).

# Variables

NoProxyChanged map containing URL's whos proxy behavior will change in the future.
NoProxyIgnoredWarningMap map containing URL's who will ignore the proxy in the future.
NoProxyMapMutex Lock for all no proxy maps.
NoProxyUsedInFuture map containing URL's that will use a proxy in the future.

# Structs

ResetClient wraps (http.Client).Do and resets the underlying connections at the configured interval.