Documentation ¶
Overview ¶
Package conn provides decoding and encoding of connection phase mysql packets
Index ¶
- func DecodeAuthMoreData(_ context.Context, data []byte) (*mysql.AuthMoreDataPacket, error)
- func DecodeAuthNextFactor(_ context.Context, data []byte) (*mysql.AuthNextFactorPacket, error)
- func DecodeAuthSwitchRequest(_ context.Context, data []byte) (*mysql.AuthSwitchRequestPacket, error)
- func DecodeAuthSwitchResponse(_ context.Context, data []byte) (*mysql.AuthSwitchResponsePacket, error)
- func DecodeHandshakeResponse41(_ context.Context, _ *zap.Logger, data []byte) (*mysql.HandshakeResponse41Packet, error)
- func DecodeHandshakeV10(_ context.Context, _ *zap.Logger, data []byte) (*mysql.HandshakeV10Packet, error)
- func EncodeAuthMoreData(_ context.Context, packet *mysql.AuthMoreDataPacket) ([]byte, error)
- func EncodeAuthNextFactor(_ context.Context, packet *mysql.AuthNextFactorPacket) ([]byte, error)
- func EncodeAuthSwitchRequest(_ context.Context, packet *mysql.AuthSwitchRequestPacket) ([]byte, error)
- func EncodeAuthSwitchResponse(_ context.Context, packet *mysql.AuthSwitchResponsePacket) ([]byte, error)
- func EncodeHandshakeResponse41(_ context.Context, _ *zap.Logger, packet *mysql.HandshakeResponse41Packet) ([]byte, error)
- func EncodeHandshakeV10(_ context.Context, _ *zap.Logger, packet *mysql.HandshakeV10Packet) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeAuthMoreData ¶
func DecodeAuthNextFactor ¶
func DecodeAuthSwitchRequest ¶
func DecodeHandshakeV10 ¶
func EncodeAuthMoreData ¶
func EncodeAuthNextFactor ¶
func EncodeAuthSwitchRequest ¶
func EncodeHandshakeV10 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.