web

package
v0.0.0-...-39ac315 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 6 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 {
	ServeMux http.ServeMux
	Players  []*models.User
}

func NewGameServer

func NewGameServer() *GameServer

func (*GameServer) ClickHandler

func (gs *GameServer) ClickHandler(w http.ResponseWriter, r *http.Request)

func (*GameServer) JoinHandler

func (gs *GameServer) JoinHandler(w http.ResponseWriter, r *http.Request)

func (*GameServer) ServeHTTP

func (gs *GameServer) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*GameServer) UpdateHandler

func (gs *GameServer) UpdateHandler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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