Added LoginResult model
This commit is contained in:
1 parent
12b87b769f
commit
d2588d8999
1 file changed
+9
@@ -0,0 +1,9 @@
|
||||
package models
|
||||
|
||||
type LoginResult struct {
|
||||
Id int `json:"id"`
|
||||
Username string `json:"username"`
|
||||
Token string `json:"token"`
|
||||
TokenType string `json:"token_type"`
|
||||
Expiration int `json:"expiration"`
|
||||
}
|
||||
Reference in new issue
Block a user