package
0.0.0-20210509133322-082114d9069b
Repository: https://github.com/fatih/go-mysqlstack.git
Documentation: pkg.go.dev
# Functions
ColumnCount returns the column count.
NewAuth creates new Auth.
NewGreeting creates a new Greeting.
PackColumn used to pack the column packet.
PackEOF used to pack the EOF packet.
PackERR used to pack the error packet.
PackOK used to pack the OK packet.
PackStatementExecute -- used to pack the stmt execute packet from the client.
PackStatementPrepare -- used to pack the stmt prepare resp packet.
UnpackColumn used to unpack the column packet.
UnPackEOF used to unpack the EOF packet.
UnPackERR parses the error packet and returns a sqldb.SQLError.
UnPackOK used to unpack the OK packet.
UnPackStatementExecute -- unpack the stmt-execute packet from client.
UnPackStatementPrepare -- used to unpack the stmt-prepare-response packet.
# Constants
DefaultAuthPluginName is the default plugin name.
DefaultClientCapability is the default client capability.
DefaultServerCapability is the default server capability.
EOF_PACKET is the EOF packet.
ERR_PACKET is the error packet byte.
OK_PACKET is the OK byte.
# Variables
DefaultSalt is the default salt bytes.