Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCipherNotSupported = errors.New("cipher not supported")
ErrCipherNotSupported occurs when a cipher is not supported (likely because of security concerns).
Functions ¶
func ListCipher ¶
func ListCipher() []string
ListCipher returns a list of available cipher names sorted alphabetically.
Types ¶
type Cipher ¶
type Cipher interface { StreamConnCipher PacketConnCipher }
type PacketConnCipher ¶
type PacketConnCipher interface {
PacketConn(net.PacketConn) net.PacketConn
}
Click to show internal directories.
Click to hide internal directories.