package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Oct 21, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LoginRequest struct {
Body struct {
Email string `json:"email"`
Password string `json:"password"`
}
}
type LoginResponse struct {
AccessToken string `json:"accessToken"`
RefreshToken string `json:"refreshToken"`
}
type RegisterRequest struct {
Body struct {
Email string `json:"email"`
Password string `json:"password"`
}
}
type UserResponseBody struct {
Email string `json:"email"`
}
type UsersResponseBody struct {
Data []UserResponseBody `json:"data"`
Count uint64 `json:"count"`
Displaying uint8 `json:"displaying"`
CurrentPage uint8 `json:"currentPage"`
TotalPage uint32 `json:"totalPage"`
NextPage string `json:"nextPage"`
PreviousPage string `json:"previousPage"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.