user

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractClaims

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

func GetDeptId

func GetDeptId(c *gin.Context) int

func GetDeptName

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