Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartControlServer ¶
func StartControlServer(config *ini.File, mm *Matchmaker, relay RelayServer)
StartControlServer begins handling HTTP requests for the REST API, called by main function
Types ¶
type Matchmaker ¶
type Matchmaker struct {
// contains filtered or unexported fields
}
Matchmaker is a structure that allows keeping track of users and lobbies.
func (*Matchmaker) Init ¶
func (mm *Matchmaker) Init()
type RelayServer ¶
type RelayServer interface {
// contains filtered or unexported methods
}
Represents the relay server which handles relaying all the actual game packets from the various clients to each other
type RelayServerImpl ¶
type RelayServerImpl struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.