user

package
v1.3.5-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractClaims

func ExtractClaims(c *gin.Context) jwt.MapClaims

func Get added in v1.3.6

func Get(c *gin.Context, key string) interface{}

func GetDeptId added in v1.3.6

func GetDeptId(c *gin.Context) int

func GetDeptName added in v1.3.6

func GetDeptName(c *gin.Context) string

func GetRoleId

func GetRoleId(c *gin.Context) int

func GetRoleName

func GetRoleName(c *gin.Context) string

func GetUserId

func GetUserId(c *gin.Context) int

func GetUserIdStr

func GetUserIdStr(c *gin.Context) string

func GetUserName

func GetUserName(c *gin.Context) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL