constants

package
v0.0.0-...-d563f25 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ExpireTime for token
	ExpireTime = time.Duration(12) * time.Hour
	// SigningMethod represents algorithm token method
	SigningMethod = jwt.SigningMethodHS256
	// SignatureKey represents random string for token signature
	SignatureKey = []byte("CJ59d3WFwke9r75q0bcYm6MDCwBxVqY3")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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