Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claims ¶
type Claims struct { UserID string Email string jwt.StandardClaims }
Claims represents a model for JWT
type HTTPErrorStatus ¶
HTTPErrorStatus represents the model for a HTTP response
type TokenPayload ¶
type TokenPayload struct {
Token string `json:"token"`
}
TokenPayload represents model for the token payload
Click to show internal directories.
Click to hide internal directories.