Versions in this module Expand all Collapse all v1 v1.2.3 Jun 14, 2023 v1.2.2 Jun 14, 2023 v1.2.1 Jun 14, 2023 Changes in this version + var ErrTokenInvalid = errors.New("token is invalid") + type Instance struct + func New() *Instance + func (impl Instance) GenerateToken(sign []byte, claims jwt.Claims) (string, error) + func (impl Instance) ParseToken(sign []byte, token string) (jwt.Claims, error)