Documentation
¶
Index ¶
- func Client(c *websocket.Conn, r *mgo.Session)
- func HighscoreHandler(session *mgo.Session) func(http.ResponseWriter, *http.Request)
- func NewTemplateHandler(assetsPath string, version string) func(http.ResponseWriter, *http.Request)
- func NewWSHandler(mgoSession *mgo.Session) func(http.ResponseWriter, *http.Request)
- func Player(wsInChannel chan map[string]interface{}, wsOutChannel chan string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HighscoreHandler ¶
func HighscoreHandler(session *mgo.Session) func(http.ResponseWriter, *http.Request)
func NewTemplateHandler ¶
func NewWSHandler ¶
func NewWSHandler(mgoSession *mgo.Session) func(http.ResponseWriter, *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.