handlers

package
v0.0.0-...-3d07d1a Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PLAYER_NOT_FOUND = map[string]interface{}{
		"success":  false,
		"error":    "Player not found",
		"code":     "not_found",
		"resource": "player",
	}
)

Functions

func Game

func Game(w http.ResponseWriter, r *http.Request)

func NewGame

func NewGame(w http.ResponseWriter, r *http.Request)

func NewRoom

func NewRoom(w http.ResponseWriter, r *http.Request)

func PlayerStream

func PlayerStream(w http.ResponseWriter, r *http.Request)

Types

type Page

type Page struct {
	GameId string
}

Jump to

Keyboard shortcuts

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