documentation

This commit is contained in:
Ola Holmström
2015-05-13 23:15:10 +02:00
parent d1e23276ef
commit 9f353b18a2
7 changed files with 52 additions and 40 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func (h *hub) run() {
if _, ok := h.sessions[s]; ok {
delete(h.sessions, s)
close(s.output)
s.Conn.Close()
s.conn.Close()
}
case m := <-h.broadcast:
for s := range h.sessions {