16 lines
357 B
Go
16 lines
357 B
Go
|
|
package request
|
||
|
|
|
||
|
|
type LoginRequest struct {
|
||
|
|
Email string `json:"email"`
|
||
|
|
Password string `json:"password"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type ResetPasswordRequest struct {
|
||
|
|
Email string `json:"email" validate:"required,email"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type ResetPasswordChangeRequest struct {
|
||
|
|
Token string `json:"token" validate:"required"`
|
||
|
|
Password string `json:"password" validate:"required"`
|
||
|
|
}
|