memos/api/auth.go

14 lines
256 B
Go
Raw Normal View History

2021-12-08 23:43:14 +08:00
package api
type Signin struct {
Email string `json:"email"`
Password string `json:"password"`
2021-12-08 23:43:14 +08:00
}
2022-02-03 15:32:03 +08:00
type Signup struct {
Email string `json:"email"`
Role Role `json:"role"`
Name string `json:"name"`
Password string `json:"password"`
2021-12-08 23:43:14 +08:00
}