server

package
v0.0.0-...-a657feb Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(c *websocket.Conn, r *mgo.Session)

func HighscoreHandler

func HighscoreHandler(session *mgo.Session) func(http.ResponseWriter, *http.Request)

func NewTemplateHandler

func NewTemplateHandler(assetsPath string, version string) func(http.ResponseWriter, *http.Request)

func NewWSHandler

func NewWSHandler(mgoSession *mgo.Session) func(http.ResponseWriter, *http.Request)

func Player

func Player(wsInChannel chan map[string]interface{}, wsOutChannel chan string, mgoSession *mgo.Session)

Types

This section is empty.

Jump to

Keyboard shortcuts

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