sharedutils/gameUtils/sessionTypes.go

30 lines
505 B
Go

package gameUtils
import (
"time"
)
type Session struct {
SessionId string
GameId string
Icon string
Title string
Status string
Version string
Expires time.Time
Arguments []Argument
}
type Sessions struct {
Sessions []Session
}
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"`
}