add JS session interface
This commit is contained in:
parent
ceb5cac7ea
commit
7c0ce88a38
@ -5,13 +5,15 @@ import (
|
||||
)
|
||||
|
||||
type Session struct {
|
||||
expirateAt time.Time
|
||||
gameId string
|
||||
Expires time.Time
|
||||
GameId string
|
||||
}
|
||||
|
||||
type JSSessionInterface struct {
|
||||
GameID string `json:"gameId"`
|
||||
Title string `json:"title"`
|
||||
Image string `json:"image"`
|
||||
Description string `json:"description"`
|
||||
GameID string `json:"gameId"`
|
||||
Icon string `json:"icon"`
|
||||
Title string `json:"title"`
|
||||
Status string `json:"status"`
|
||||
Version string `json:"version"`
|
||||
Expires time.Time `json:"expires"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user