25 lines
447 B
Go
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"`
|
|
}
|