Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RefreshPayload ¶
type RefreshPayload struct {
RefreshToken string `json:"refreshToken"`
}
type UserCredentials ¶
type UserResponse ¶
type UserResponse struct { Id int `json:"id"` Email string `json:"email"` RefreshToken string `json:"refreshToken"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
func NewUserResponse ¶
func NewUserResponse(user User) *UserResponse
*
- Get a new instance of a User Response
Click to show internal directories.
Click to hide internal directories.