internal

package
v0.0.0-...-17837d5 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JwtTokenExpired = 7 * 24 * time.Hour
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JwtCustomClaims

type JwtCustomClaims struct {
	UserID          uint   `json:"user_id"`
	Username        string `json:"username"`
	UserRole        string `json:"user_role"`
	TokenBufferTime int64  `json:"token_buffer_time"`
	jwt.StandardClaims
}

Jump to

Keyboard shortcuts

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