api

package
v0.0.0-...-4a4347e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 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 ApiController

type ApiController struct {
	// contains filtered or unexported fields
}

func (*ApiController) HandleEndGame

func (c *ApiController) HandleEndGame(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*ApiController) HandleGetBattlesnake

func (c *ApiController) HandleGetBattlesnake(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*ApiController) HandleMove

func (c *ApiController) HandleMove(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*ApiController) HandleStartGame

func (c *ApiController) HandleStartGame(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*ApiController) NewRouter

func (c *ApiController) NewRouter() *httprouter.Router

Jump to

Keyboard shortcuts

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