24 lines
410 B
Go
24 lines
410 B
Go
package sessionUtils
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Session struct {
|
|
GameId string
|
|
Icon string
|
|
Title string
|
|
Status string
|
|
Version string
|
|
Expires time.Time
|
|
}
|
|
|
|
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"`
|
|
}
|