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