blob: 32e81a9630261fbede97d140806d2c6573844751 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package types
type RegisterRequest struct {
Username string `json:"username"`
Email string `json:"email"`
Password string `json:"password"`
DisplayName string `json:"display_name"`
}
type LoginRequest struct {
Username string `json:"username"`
Password string `json:"password"`
}
type VerifyRequest struct {
Token string `json:"token"`
}
|