package
6.7.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

CreateMockConn creates a mock connection together with a session.
CreateMockServer creates a mock server.
NewRPCServer creates a new rpc server.
NewServer creates a new Server.
NewTiDBDriver creates a new TiDBDriver.
NewTokenLimiter creates a TokenLimiter with count tokens.

# Variables

RunInGoTest represents whether we are run code in test.

# Structs

Ballast try to reduce the GC frequency by using Ballast Object.
ColumnInfo contains information of a column.
CorsHandler adds Cors Header if `cors` config is set.
FrameItem includes a index's or record's meta data with table's info.
IndexRegions is the region info for one index.
OptimizeTraceHandler serve http.
PlanReplayerHandler is the handler for dumping plan replayer file.
RangeDetail contains detail information about a particular range.
RegionDetail is the response data for get region by ID it includes indices and records detail in current region.
RegionMeta contains a region's peer detail.
Server is the MySQL protocol server.
StatsHandler is the handler for dumping statistics.
StatsHistoryHandler is the handler for dumping statistics.
TableRanges is the response data for list table's ranges.
TableRegions is the response data for list table's regions.
TiDBContext implements QueryCtx.
TiDBDriver implements IDriver.
TiDBStatement implements PreparedStatement.
Token is used as a permission to keep on running.
TokenLimiter is used to limit the number of concurrent tasks.

# Interfaces

IDriver opens IContext.
MockConn is a mock connection.
PreparedStatement is the interface to use a prepared statement.
ResultSet is the result set of an query.