Documentation ¶
Index ¶
- func KCPConnectHost(hostAndPort string, config kcpcfg.KCPConfigArgs) (conn net.Conn, err error)
- func TCPConnectHost(hostAndPort string, timeout int) (conn net.Conn, err error)
- func TCPSConnectHost(hostAndPort string, method, password string, compress bool, timeout int) (conn net.Conn, err error)
- func TOUConnectHost(hostAndPort string, method, password string, compress bool, timeout int) (conn net.Conn, err error)
- func TlsConfig(certBytes, keyBytes, caCertBytes []byte) (conf *tls.Config, err error)
- func TlsConnect(host string, port, timeout int, certBytes, keyBytes, caCertBytes []byte) (conn tls.Conn, err error)
- func TlsConnectHost(host string, timeout int, certBytes, keyBytes, caCertBytes []byte) (conn tls.Conn, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KCPConnectHost ¶
func TCPConnectHost ¶
func TCPSConnectHost ¶
func TOUConnectHost ¶
func TlsConnect ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.