Documentation ¶
Index ¶
- type GameServer
- func (s *GameServer) AskQuestion(c *gin.Context)
- func (s *GameServer) Authenticate(c *gin.Context)
- func (s *GameServer) GetGames(c *gin.Context)
- func (s *GameServer) GetRank(c *gin.Context)
- func (s *GameServer) Join(c *gin.Context)
- func (s *GameServer) Listen()
- func (s *GameServer) MakeGuess(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameServer ¶
type GameServer struct {
// contains filtered or unexported fields
}
func NewGameServer ¶
func NewGameServer(games []game.Game) *GameServer
func (*GameServer) AskQuestion ¶
func (s *GameServer) AskQuestion(c *gin.Context)
func (*GameServer) Authenticate ¶
func (s *GameServer) Authenticate(c *gin.Context)
func (*GameServer) GetGames ¶
func (s *GameServer) GetGames(c *gin.Context)
func (*GameServer) GetRank ¶
func (s *GameServer) GetRank(c *gin.Context)
func (*GameServer) Join ¶
func (s *GameServer) Join(c *gin.Context)
func (*GameServer) Listen ¶
func (s *GameServer) Listen()
func (*GameServer) MakeGuess ¶
func (s *GameServer) MakeGuess(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.