Documentation ¶
Index ¶
- Variables
- func Client(conn net.Conn, my *cryptosig.SecretKey) (key []byte, other *cryptosig.PublicKey, err error)
- func Recv(src io.Reader, max uint32) ([]byte, error)
- func Send(dst io.Writer, b []byte) error
- func Server(conn net.Conn, my *cryptosig.SecretKey) (key []byte, other *cryptosig.PublicKey, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailed = errors.New(": handshake failed")
View Source
var ErrTooLargePacket = errors.New("kex: too large packet")
View Source
var MaxPacketSize uint32 = 1000
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.