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 GetUserId(c *gin.Context) int
- func GetUserIdInt64(c *gin.Context) int64
- func GetUserIdStr(c *gin.Context) string
- func GetUserName(c *gin.Context) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeptName ¶
func GetRoleName ¶
func GetUserIdStr ¶
func GetUserName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.