Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHTTPTransport ¶
CreateHTTPTransport creates an *http.Transport for use in the agent
func GetProxyTransportFunc ¶
GetProxyTransportFunc return a proxy function for a http.Transport that would return the right proxy depending on the configuration.
func SanitizeURL ¶
SanitizeURL sanitizes credentials from a message containing a URL, and returns a string that can be logged safely. For now, it obfuscates the API key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.