Documentation ¶
Index ¶
- func AddTLS(conn network.Conn, tlsConfig *tls.Config) (network.Conn, error)
- func DefaultDialer() network.Dialer
- func DialConnection(network, address string, timeout time.Duration, tlsConfig *tls.Config) (conn network.Conn, err error)
- func DialTimeout(network, address string, timeout time.Duration, tlsConfig *tls.Config) (conn net.Conn, err error)
- func SetDialer(dialer network.Dialer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTLS ¶
AddTLS is used to add tls to a persistent connection, i.e. negotiate a TLS session. If conn is already a TLS tunnel, this function establishes a nested TLS session inside the encrypted channel.
func DefaultDialer ¶ added in v0.3.0
func DialConnection ¶
func DialTimeout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.