initial commit 2
This commit is contained in:
9
application/viewmodel/auth.go
Normal file
9
application/viewmodel/auth.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package viewmodel
|
||||
|
||||
// AuthResponse has data from authentication routes
|
||||
type AuthResponse struct {
|
||||
Token string `json:"token"`
|
||||
ValidTime int64 `json:"valid_time"`
|
||||
ServerTime int64 `json:"server_time"`
|
||||
User User `json:"user"`
|
||||
}
|
||||
Reference in New Issue
Block a user