sharedutils/gameUtils/sessionTypes.go

25 lines
447 B
Go
Raw Normal View History

2022-11-11 12:15:36 +00:00
package gameUtils
import (
"time"
)
type Session struct {
SessionId string
GameId string
2022-11-11 12:30:08 +00:00
Assets GameInterfaceAssets
2022-11-11 12:15:36 +00:00
Expires time.Time
Arguments []Argument
}
type Sessions struct {
Sessions []Session
}
type JSSessionInterface struct {
2022-11-11 12:30:08 +00:00
GameID string `json:"gameId"`
SessionId string `json:"sessionId"`
Expires time.Time `json:"expires"`
Assets GameInterfaceAssets `json:"assets"`
2022-11-11 12:15:36 +00:00
}