Merge branch 'models-login_result' into 'main'
Added LoginResult model See merge request kdeng00/icarus-models!4
This commit is contained in:
9
models/loginresult.go
Normal file
9
models/loginresult.go
Normal file
@@ -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