17 lines
342 B
Go
Raw Normal View History

2025-02-24 16:48:20 +08:00
package authdomain
type LoginReq struct {
Email string `json:"email" validate:"required"`
Password string `json:"password" validate:"required"`
}
2025-02-25 11:07:17 +08:00
type AuthResponse struct {
2025-02-24 16:48:20 +08:00
Token string `json:"token"`
}
type LoginRepoResponse struct {
ID string `json:"id"`
Email string `json:"email"`
Password string `json:"password"`
2025-02-24 16:48:20 +08:00
}