Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWT ¶
Types ¶
type CustomClaims ¶
type CustomClaims struct { Email string `json:"email"` jwt.StandardClaims }
func ValidateJWT ¶
func ValidateJWT(tokenString string) (*CustomClaims, error)
Click to show internal directories.
Click to hide internal directories.