package
Version:
v0.0.0-...-2bcd575
Opens a new window with list of versions in this module.
Published: Sep 18, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Claim struct {
FirstName string `json:"firstName,omitempty"`
LastName string `json:"lastName,omitempty"`
Email string `json:"email,omitempty"`
Role string `json:"role,omitempty"`
jwt.RegisteredClaims
}
type JWTService struct {
}
type User struct {
Id uuid.UUID `json:"id"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Email string `json:"email"`
AvatarUrl string `json:"avatarUrl"`
Status string `json:"status"`
Role string `json:"role"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.