Documentation ¶
Index ¶
- func ExtractClaims(c *gin.Context) jwt.MapClaims
- func Get(c *gin.Context, key string) interface{}
- func GetDeptId(c *gin.Context) int
- func GetDeptName(c *gin.Context) string
- func GetRoleId(c *gin.Context) int
- func GetRoleName(c *gin.Context) string
- func GetTenantId(c *gin.Context) int
- func GetUserId(c *gin.Context) int
- func GetUserIdStr(c *gin.Context) string
- func GetUserName(c *gin.Context) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.