package
0.0.0-20210724093922-c95b7eeff255
Repository: https://github.com/frankhang/util.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewServer creates a new Server.
NewTokenLimiter creates a TokenLimiter with count tokens.

# Structs

ClientConn represents a connection between server and client, it maintains connection specific state, handles client query.
CorsHandler adds Cors Header if `cors` config is set.
PacketIO is a helper to read and write data in packet format.
Server is the MySQL protocol server.
Token is used as a permission to keep on running.
TokenLimiter is used to limit the number of concurrent tasks.

# Interfaces

Handler is the inteterface to handle the packet.
IDriver opens IContext.
No description provided by the author
No description provided by the author
QueryCtx is the interface to execute command.