Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
Types ¶
type CustomClaims ¶
type CustomClaims struct { UserInfo interface{} jwt.StandardClaims }
func ParseToken ¶
func ParseToken(tokenString string, secret string) (*CustomClaims, error)
Click to show internal directories.
Click to hide internal directories.