package
Version:
v0.0.0-...-dbc8191
Opens a new window with list of versions in this module.
Published: Feb 10, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LoginDTO struct {
Email string `json:"email" validate:"required,email"`
Password string `json:"password" validate:"required"`
}
type LoginResponseDTO struct {
Name string `json:"name"`
Email string `json:"email"`
Token string `json:"token"`
}
type RegisterDTO struct {
Name string `json:"name" validate:"required"`
Email string `json:"email" validate:"required"`
Password string `json:"password" validate:"required"`
}
type UserResponse struct {
Status int `json:"status"`
Message string `json:"message"`
Data *echo.Map `json:"data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.