Documentation ¶
Overview ¶
Package phase contains the encoding and decoding functions for the different phases of the MySQL protocol. And also contains the same for EOF, ERR, and OK packets.
Index ¶
- func DecodeEOF(_ context.Context, data []byte, capabilities uint32) (*mysql.EOFPacket, error)
- func DecodeERR(_ context.Context, data []byte, capabilities uint32) (*mysql.ERRPacket, error)
- func DecodeOk(_ context.Context, data []byte, capabilities uint32) (*mysql.OKPacket, error)
- func EncodeEOF(_ context.Context, packet *mysql.EOFPacket, capabilities uint32) ([]byte, error)
- func EncodeErr(_ context.Context, packet *mysql.ERRPacket, capabilities uint32) ([]byte, error)
- func EncodeOk(_ context.Context, packet *mysql.OKPacket, capabilities uint32) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package conn provides decoding and encoding of connection phase mysql packets
|
Package conn provides decoding and encoding of connection phase mysql packets |
Package query provides functions to decode MySQL command phase packets.
|
Package query provides functions to decode MySQL command phase packets. |
preparedstmt
Package preparedstmt provides functionality for decoding prepared statement packets.
|
Package preparedstmt provides functionality for decoding prepared statement packets. |
rowscols
Package rowscols provides encoding and decoding of MySQL row & column packets.
|
Package rowscols provides encoding and decoding of MySQL row & column packets. |
utility
Package utility provides encoding and decoding of utility command packets.
|
Package utility provides encoding and decoding of utility command packets. |
Click to show internal directories.
Click to hide internal directories.