token

package
v0.0.0-...-eea28b3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateToken

func GenerateToken(user models.User) (string, error)

func GetToken

func GetToken(c *gin.Context) (*jwt.Token, error)

func ValidateToken

func ValidateToken(c *gin.Context) (uint, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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