package
Version:
v0.0.0-...-900ead6
Opens a new window with list of versions in this module.
Published: Jun 13, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ExtractToken return jwt token string or nil
type Configure struct {
JwtSecret string `env:"JWT_SECRET" envDefault:"Y8TzKMOY5QACbF71m..."`
TTL int64 `env:"JWT_TTL" envDefault:"1"`
TRT int64 `env:"JWT_TRT" envDefault:"168"`
}
Configure config for jwt
Config global defined jwt config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.