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