sharedutils/sessionUtils/sessionTypes.go

20 lines
346 B
Go

package sessionUtils
import (
"time"
)
type Session struct {
Expires time.Time
GameId string
}
type JSSessionInterface struct {
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"`
}