sharedutils/gameUtils/sessionTypes.go
2022-11-11 15:30:08 +03:00

25 lines
447 B
Go

package gameUtils
import (
"time"
)
type Session struct {
SessionId string
GameId string
Assets GameInterfaceAssets
Expires time.Time
Arguments []Argument
}
type Sessions struct {
Sessions []Session
}
type JSSessionInterface struct {
GameID string `json:"gameId"`
SessionId string `json:"sessionId"`
Expires time.Time `json:"expires"`
Assets GameInterfaceAssets `json:"assets"`
}