Updated WS API. Fixes #219. Closes #220

This commit is contained in:
obscuren
2015-01-06 11:44:22 +01:00
parent 47e6b2cef8
commit a26aecdfdb
4 changed files with 38 additions and 42 deletions

View File

@ -81,8 +81,6 @@ func (s *Server) MessageFunc(f MsgFunc) {
// Listen and serve.
// It serves client connection and broadcast request.
func (s *Server) Listen() {
wslogger.Debugln("Listening server...")
// ws handler
onConnected := func(ws *ws.Conn) {
defer func() {