sharedutils/sessionUtils/sessionTypes.go

18 lines
290 B
Go

package sessionUtils
import (
"time"
)
type Session struct {
ExpirateAt time.Time
GameId string
}
type JSSessionInterface struct {
GameID string `json:"gameId"`
Title string `json:"title"`
Image string `json:"image"`
Description string `json:"description"`
}