memos/api/auth.go

13 lines
231 B
Go
Raw Normal View History

2021-12-08 18:43:14 +03:00
package api
type Signin struct {
Username string `json:"username"`
Password string `json:"password"`
2021-12-08 18:43:14 +03:00
}
2022-02-03 10:32:03 +03:00
type Signup struct {
Username string `json:"username"`
Password string `json:"password"`
Role Role `json:"role"`
2021-12-08 18:43:14 +03:00
}