auth

package
v0.0.0-...-9008a76 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserID

func GetUserID(c *gin.Context) *ids.ID

GetUserID returns the current user id from a request context. if it exists.

func SetUserID

func SetUserID(c *gin.Context, userID ids.ID)

SetUserID sets the current use id into the gin context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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