ginx

package
v0.0.0-...-8e4c2be Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserIDKey     = prefix + ":userID"
	ReqBodyKey    = prefix + ":reqBody"
	RespBodyKey   = prefix + ":respBody"
	LogReqBodyKey = prefix + ":logReqBody"
)

Variables

This section is empty.

Functions

func GetToken

func GetToken(c *gin.Context) string

func GetUserID

func GetUserID(c *gin.Context) string

func SetUserID

func SetUserID(c *gin.Context, userID string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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