memos/api/auth.go

14 lines
255 B
Go
Raw Normal View History

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