Documentation ¶
Index ¶
- func AddTLS(conn network.Conn, tlsConfig *tls.Config) (network.Conn, error)
- 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 DialConnection ¶
func DialTimeout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.