package
Version:
v0.0.0-...-35c4631
Opens a new window with list of versions in this module.
Published: Aug 21, 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 AuthRequest struct {
Email string `json:"email"`
Password string `json:"password"`
}
type ChangePasswordRequest struct {
OldPassword string `json:"oldPassword"`
NewPassword string `json:"newPassword"`
ConfirmationNewPassword string `json:"confirmationNewPassword"`
}
type CreateTodoRequest struct {
Title string `json:"title"`
Description string `json:"description"`
}
type GeneralTodoResponse struct {
ID string `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
IsCompleted bool `json:"is_completed"`
UpdatedAt time.Time `json:"updated_at"`
}
type RegistrationRequest struct {
AuthRequest
ConfirmationPassword string `json:"confirmationPassword"`
}
type UpdateTodoResponse struct {
IsCompleted bool `json:"is_completed"`
UpdatedAt time.Time `json:"updated_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.