Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
Types ¶
type UserClaims ¶
type UserClaims struct {
UserId string `json:"userId"`
jwt.RegisteredClaims
}
type UserContext ¶
type UserContext struct {
Id string
}
Click to show internal directories.
Click to hide internal directories.