package
1.0.0
Repository: https://github.com/xelabs/go-mysqlstack.git
Documentation: pkg.go.dev

# Functions

NewMockConn creates new mock connection.
NewPackets creates the new packets.
NewStream creates a new stream.

# Constants

PACKET_BUFFER_SIZE is how much we buffer for reading.
(16MB - 1).

# Variables

ErrBadConn used for the error of bad connection.
ErrMalformPacket used for the bad packet.

# Structs

MockConn used to mock a net.Conn for testing purposes.
Packet presents the packet tuple.
Packets presents the stream tuple.
Stream represents the stream tuple.