diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/model/users.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/model/users.go b/pkg/model/users.go index dfef67b..e4b4bf0 100644 --- a/pkg/model/users.go +++ b/pkg/model/users.go @@ -10,6 +10,11 @@ type User struct { Last_login_at *time.Time `json:"last_login_at"` } +type UserLogin struct { + Username string `json:"username"` + Password string `json:"password"` +} + type UserRegistration struct { Username string `json:"username"` Password string `json:"password"` |