server

package
v0.0.0-...-802e8cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL