memos/api/auth.go
boojack a797280e3f
chore: update middleware skipper (#887)
* chore: update middleware skipper

* chore: update
2023-01-01 23:26:21 +08:00

13 lines
231 B
Go

package api
type SignIn struct {
Username string `json:"username"`
Password string `json:"password"`
}
type SignUp struct {
Username string `json:"username"`
Password string `json:"password"`
Role Role `json:"role"`
}