//
pkg.gl
Category
github.com/suyuan32/simple-admin-common
utils
jwt
package
1.5.7
Repository:
https://github.com/suyuan32/simple-admin-common.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
2
Dependents
17
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.