Documentation ¶
Index ¶
Constants ¶
View Source
const CONTEXT_CLAIM_KEY = "TOTOVAL_CONTEXT_CLAIM"
Variables ¶
This section is empty.
Functions ¶
func ConvertHandlers ¶
func ConvertHandlers(handlers []HandlerFunc) (ginHandlers []gin.HandlerFunc)
Types ¶
type Context ¶
func (*Context) AuthClaimID ¶
func (*Context) SetAuthClaim ¶
func (c *Context) SetAuthClaim(claims *jwt.UserClaims)
type Engine ¶
func (*Engine) Use ¶
func (e *Engine) Use(handlers ...HandlerFunc)
func (*Engine) UseGin ¶
func (e *Engine) UseGin(handlerFunc ...gin.HandlerFunc)
type HandlerFunc ¶
type HandlerFunc func(*Context)
Click to show internal directories.
Click to hide internal directories.