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