//
pkg.gl
Category
github.com/neumathe/simple-admin-common
utils
jwt
package
1.8.0
Repository:
https://github.com/neumathe/simple-admin-common.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
0
Files
34 SLOC
#
Functions
NewJwtToken
NewJwtToken returns the jwt token from the given data.
StripBearerPrefixFromToken
StripBearerPrefixFromToken remove the bearer prefix in token string.
WithOption
WithOption returns the option from k/v.
#
Structs
Option
Option describes the jwt extra data.