Versions in this module Expand all Collapse all v0 v0.0.9 Apr 15, 2018 Changes in this version + var ErrCipherNotSupported = errors.New("cipher not supported") + func Dial(network, address string, ciph StreamConnCipher) (net.Conn, error) + func ListCipher() []string + func Listen(network, address string, ciph StreamConnCipher) (net.Listener, error) + func ListenPacket(network, address string, ciph PacketConnCipher) (net.PacketConn, error) + type Cipher interface + func PickCipher(name string, key []byte, password string) (Cipher, error) + type PacketConnCipher interface + PacketConn func(net.PacketConn) net.PacketConn + type StreamConnCipher interface + StreamConn func(net.Conn) net.Conn