package
Version:
v0.0.0-...-a019193
Opens a new window with list of versions in this module.
Published: Feb 23, 2025
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 LoginRequest struct {
Email string `json:"email" example:"name@test.com"`
Password string `json:"password" example:"123Qwe!@#"`
}
type LoginResponse struct {
User UserInfo `json:"user"`
Tokens Token `json:"token"`
}
type RegisterRequest struct {
Name string `json:"name" example:"name"`
Email string `json:"email" example:"name@test.com"`
Password string `json:"password" example:"123Qwe!@#"`
}
type RegisterResponse struct {
Email string `json:"email" example:"name@test.com"`
ID string `json:"id" example:"f90631e0-aad3-4eb1-8cef-1478711e16e9"`
}
type Token struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.