package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Aug 1, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
ListSessions returns a map of all game URLs in the session store mapped to a list of usernames.
type Session struct {
GameURL string `json:"-"`
Username string `json:"-"`
GameId string `json:"game_id"`
PlayerId string `json:"player_id"`
PlayerSecret string `json:"player_secret"`
Path string `json:"-"`
}
func NewSession(gameURL, username, gameId, playerId, playerSecret string) Session
Source Files
¶
Click to show internal directories.
Click to hide internal directories.