package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
NewPrettyString wraps a string with ANSI escape seuqnces with PrettyString.
WithCallbackExtraField adds an extra field with the callback.
WithConstExtraField adds an extra field with constant values.
WithTimeCost adds the task information of time costing for `ShowTask`.
# Structs
ConsoleOperations are some operations based on ConsoleGlue.
Frame is an fix-width place for printing.
NoOPConsoleGlue is the glue for "embedded" BR, say, BRIE via SQL.
PrettyString is a string with ANSI escape sequence which would change its color.
StdIOGlue is the console glue for CLI applications, like the BR CLI.
# Interfaces
BatchCreateTableSession is an interface to batch create table parallelly.
ConsoleGlue is the glue between BR and some type of console, which is the port for interact with the user.
Glue is an abstraction of TiDB function calls used in BR.
Progress is an interface recording the current execution progress.
ProgressWaiter is the extended `Progress“: which provides a `wait` method to allow caller wait until all unit in the progress finished.
Session is an abstraction of the session.Session interface.