Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckToken ¶
func CheckToken(secretKey string, tokenStr string, decode TokenSubjectDecode) (any, error)
Types ¶
type TokenInvalidError ¶
type TokenInvalidError struct { }
func (TokenInvalidError) Error ¶
func (t TokenInvalidError) Error() string
type TokenSubjectDecode ¶
Click to show internal directories.
Click to hide internal directories.