sharedutils/sessionUtils/sessionTypes.go

18 lines
290 B
Go
Raw Normal View History

2022-10-27 20:31:46 +00:00
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"`
}