18 lines
290 B
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"`
|
|
}
|