package
1.0.1
Repository: https://github.com/linuxgit/tidb-dashboard.git
Documentation: pkg.go.dev

# Functions

GetTiDBConnection gets the TiDB connection stored in the gin context by `MWConnectTiDB` middleware.
No description provided by the author
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.
MWHandleErrors creates a middleware that turns (last) error in the context into an APIError json response.
NewJWTString create a JWT string by given data.
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
The key that attached the SessionUser in the gin Context.

# 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
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Claims is a struct that will be encoded to a JWT.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author