user

package
v1.3.23 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 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 Get

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

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