Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DialContext ¶
DialContext is the DialContext function that should be wrapped with a NTLM Authentication.
Example for DialContext:
dialContext := (&net.Dialer{KeepAlive: 30*time.Second, Timeout: 30*time.Second}).DialContext
func WrapDialContext ¶
func WrapDialContext(dialContext DialContext, proxyAddress, proxyUsername, proxyPassword, proxyDomain string) DialContext
WrapDialContext wraps a DialContext with an NTLM Authentication to a proxy.
Click to show internal directories.
Click to hide internal directories.