add JS session interface

This commit is contained in:
cyber-dream 2022-10-28 17:21:10 +03:00
parent ceb5cac7ea
commit 7c0ce88a38

View File

@ -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"`
}