Documentation
¶
Index ¶
Constants ¶
View Source
const FeedbackPkg = feedback.Package("sessions")
Variables ¶
This section is empty.
Functions ¶
func ListSessions ¶
ListSessions returns a map of all game URLs in the session store mapped to a list of sessions.
Types ¶
type Session ¶
type Session struct {
GameURL string `json:"-"`
PlayerID string `json:"-"`
Username string `json:"username"`
GameID string `json:"game_id"`
PlayerSecret string `json:"player_secret"`
}
func ListSessionsByGame ¶
ListSessionsByGame returns a list of sessions for the game.
func LoadSession ¶
Load a session from the session store.
func NewSession ¶
Click to show internal directories.
Click to hide internal directories.