package
8.3.0-e6e78c7c+incompatible
Repository: https://github.com/pingcap/tidb-dashboard.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
FIXME: Remove or refine this function, as it is not general.
TODO: Better to be a streaming interface.
GenerateBinaryPlan generate visual plan from raw data.
No description provided by the author
No description provided by the author
TODO: Better to be a streaming interface.
No description provided by the author
No description provided by the author
GetTiDBConnection gets the TiDB connection stored in the gin context by `MWConnectTiDB` middleware.
No description provided by the author
MWConnectTiDB creates a middleware that attaches TiDB connection to the context, according to the identity information attached in the context.
No description provided by the author
NewJWTString create a JWT string by given data, expire in 24 hours.
No description provided by the author
No description provided by the author
ParseJWTString parse the JWT string and return the raw data.
TakeTiDBConnection takes out the TiDB connection stored in the gin context by `MWConnectTiDB` middleware.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
role tag.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The key that attached the SessionUser in the gin Context.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Claims is a struct that will be encoded to a JWT.
No description provided by the author
The content of this structure will be encrypted and stored as both Session Token and Sharing Token.