Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
InitError = errors.New("初始化JWT错误")
)
Functions ¶
func CreateToken ¶
Types ¶
type JWTComponent ¶
type JWTComponent struct{}
func (JWTComponent) Init ¶
func (JWTComponent) Init(options ...interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.