Versions in this module Expand all Collapse all v1 v1.101106.1 Jul 13, 2023 Changes in this version + type Conn struct + func NewConn(conn net.Conn, dialDest *ecdsa.PublicKey) *Conn + func (c *Conn) Close() error + func (c *Conn) Handshake(prv *ecdsa.PrivateKey) (*ecdsa.PublicKey, error) + func (c *Conn) InitWithSecrets(sec Secrets) + func (c *Conn) Read() (code uint64, data []byte, wireSize int, err error) + func (c *Conn) SetDeadline(time time.Time) error + func (c *Conn) SetReadDeadline(time time.Time) error + func (c *Conn) SetSnappy(snappy bool) + func (c *Conn) SetWriteDeadline(time time.Time) error + func (c *Conn) Write(code uint64, data []byte) (uint32, error) + type Secrets struct + AES []byte + EgressMAC hash.Hash + IngressMAC hash.Hash + MAC []byte