Documentation
¶
Index ¶
- type CrosswordGameAPI
- func (c *CrosswordGameAPI) AttachGameToLobby(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) AttachToRouter(router *mux.Router, baseLogger *zap.SugaredLogger, schemaPath string) error
- func (c *CrosswordGameAPI) CreateGame(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) CreateLobby(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) DetachGameFromLobby(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) GetGameState(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) GetLobbyForPlayer(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) GetLobbyState(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) GetPlayerScore(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) GetPlayerState(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) Healthcheck(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) JoinPlayerToLobby(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) RemovePlayerFromLobby(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) SubmitAnnouncement(w http.ResponseWriter, r *http.Request)
- func (c *CrosswordGameAPI) SubmitPlacement(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrosswordGameAPI ¶
type CrosswordGameAPI struct {
// contains filtered or unexported fields
}
func NewCrosswordGameAPI ¶
func (*CrosswordGameAPI) AttachGameToLobby ¶
func (c *CrosswordGameAPI) AttachGameToLobby(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) AttachToRouter ¶
func (c *CrosswordGameAPI) AttachToRouter(router *mux.Router, baseLogger *zap.SugaredLogger, schemaPath string) error
func (*CrosswordGameAPI) CreateGame ¶
func (c *CrosswordGameAPI) CreateGame(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) CreateLobby ¶
func (c *CrosswordGameAPI) CreateLobby(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) DetachGameFromLobby ¶
func (c *CrosswordGameAPI) DetachGameFromLobby(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) GetGameState ¶
func (c *CrosswordGameAPI) GetGameState(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) GetLobbyForPlayer ¶
func (c *CrosswordGameAPI) GetLobbyForPlayer(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) GetLobbyState ¶
func (c *CrosswordGameAPI) GetLobbyState(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) GetPlayerScore ¶
func (c *CrosswordGameAPI) GetPlayerScore(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) GetPlayerState ¶
func (c *CrosswordGameAPI) GetPlayerState(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) Healthcheck ¶
func (c *CrosswordGameAPI) Healthcheck(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) JoinPlayerToLobby ¶
func (c *CrosswordGameAPI) JoinPlayerToLobby(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) RemovePlayerFromLobby ¶
func (c *CrosswordGameAPI) RemovePlayerFromLobby(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) SubmitAnnouncement ¶
func (c *CrosswordGameAPI) SubmitAnnouncement(w http.ResponseWriter, r *http.Request)
func (*CrosswordGameAPI) SubmitPlacement ¶
func (c *CrosswordGameAPI) SubmitPlacement(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.