Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildJwtToken ¶
func ParseJWTToken ¶
func ParseJWTToken(token string) (payload jwt.StandardClaims)
Types ¶
type CustomClaim ¶
type CustomClaim struct { UserId int64 `json:"user_id"` jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.