Versions in this module Expand all Collapse all v1 v1.1.0 Sep 25, 2023 Changes in this version + func NewInvalidToken(text string) error + func Reset() + func Sign(payload map[string]interface{}) (token string, err error) + func SignUseKey(key string, payload map[string]interface{}) (token string, err error) + func Verify(token string) (data map[string]interface{}, err error) + func VerifyUseKey(key string, token string) (data map[string]interface{}, err error) + type InvalidToken struct + func (e *InvalidToken) Error() string + type JWT struct v1.0.0 Feb 15, 2023