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"`
|
||||||
Title string `json:"title"`
|
Icon string `json:"icon"`
|
||||||
Image string `json:"image"`
|
Title string `json:"title"`
|
||||||
Description string `json:"description"`
|
Status string `json:"status"`
|
||||||
|
Version string `json:"version"`
|
||||||
|
Expires time.Time `json:"expires"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user