sharedutils/sessionUtils/sessionTypes.go
2022-10-27 23:31:46 +03:00

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"`
}