Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
Dial tries dialing via proxy if a proxy is configured, and falls back to a direct connection if no proxy is defined, or connecting via proxy fails.
func DialTimeout ¶ added in v0.12.5
DialTimeout tries dialing via proxy with a timeout if a proxy is configured, and falls back to a direct connection if no proxy is defined, or connecting via proxy fails. The timeout can potentially be applied twice, once trying to connect via the proxy connection, and second time trying to connect directly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.