Compare commits

...

2 Commits

Author SHA1 Message Date
dfb6be1fba Merge remote-tracking branch 'origin/main'
# Conflicts:
#	sessionUtils/sessionTypes.go
2022-10-28 17:22:29 +03:00
7c0ce88a38 add JS session interface 2022-10-28 17:21:10 +03:00

View File

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