package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Dec 6, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type JWTClaims struct {
*jwt.StandardClaims
UserID uuid.UUID `json:"user_id,omitempty"`
}
JWTClaims model
type Token struct {
UserID uuid.UUID `json:"user_id,omitempty"`
Token string `json:"token,omitempty"`
ExpiredAt *time.Time `json:"expired_at,omitempty"`
}
Token entity
type User struct {
ID uuid.UUID `json:"id"`
Email string `json:"email"`
Password string `json:"-"`
}
User entity
Source Files
¶
Click to show internal directories.
Click to hide internal directories.