Versions in this module Expand all Collapse all v1 v1.0.0 Nov 13, 2020 Changes in this version + type Conn struct + Sequence uint8 + func NewConn(conn net.Conn) *Conn + func (c *Conn) Close() error + func (c *Conn) ReadPacket() ([]byte, error) + func (c *Conn) ReadPacketTo(w io.Writer) error + func (c *Conn) ResetSequence() + func (c *Conn) WriteAuthSwitchPacket(authData []byte, addNUL bool) error + func (c *Conn) WriteClearAuthPacket(password string) error + func (c *Conn) WriteEncryptedPassword(password string, seed []byte, pub *rsa.PublicKey) error + func (c *Conn) WritePacket(data []byte) error + func (c *Conn) WritePublicKeyAuthPacket(password string, cipher []byte) error