mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 14:18:12 +00:00
created login controller
This commit is contained in:
10
pkg/models/auth.go
Normal file
10
pkg/models/auth.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
type TokenModel struct {
|
||||
Token string `json:"token"`
|
||||
}
|
||||
|
||||
type LoginModel struct {
|
||||
Email string
|
||||
Password string
|
||||
}
|
||||
Reference in New Issue
Block a user