sharedutils/sessionUtils/sessionTypes.go

24 lines
410 B
Go
Raw Normal View History

2022-10-27 20:31:46 +00:00
package sessionUtils
import (
"time"
)
type Session struct {
2022-10-28 14:21:10 +00:00
GameId string
2022-10-28 15:23:04 +00:00
Icon string
Title string
Status string
Version string
Expires time.Time
2022-10-27 20:31:46 +00:00
}
type JSSessionInterface struct {
2022-10-28 14:21:10 +00:00
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"`
2022-10-27 20:31:46 +00:00
}