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