sharedutils/sessionUtils/sessionTypes.go
cyber-dream c035b05b46 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	sessionUtils/sessionUtils.go
2022-11-04 02:23:38 +03:00

31 lines
574 B
Go

package sessionUtils
import (
"time"
"git.gregbrzezinski.com/Skirda/skirdaGoBackend/skirdagoutils/gameUtils"
)
type Session struct {
GameId string
Icon string
Title string
Status string
Version string
Expires time.Time
Arguments []gameUtils.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"`
}