Refactor websocket handler

This commit is contained in:
Ken-Håvard Lieng 2015-06-17 00:46:58 +02:00
parent 047027ddec
commit 114bf8201e
8 changed files with 257 additions and 226 deletions

View file

@ -59,7 +59,7 @@ func upgradeWS(w http.ResponseWriter, r *http.Request) {
return
}
handleWS(conn)
newWSHandler(conn).run()
}
func reconnect() {