# HG changeset patch # User sqwishy # Date 1385540247 28800 # Wed Nov 27 00:17:27 2013 -0800 # Node ID 717587fdfd3ba4e2d4349fd3544923b9cc5a45fe # Parent 112cddbe7432e37af6c458090163fadd65e39df7 Look at all this code I don't need anymore! diff --git a/server.go b/server.go --- a/server.go +++ b/server.go @@ -214,22 +214,4 @@ Payload: payload, }) } - -func notifyConn(conn *websocket.Conn, msg interface{}) error { - log.Printf("notifying %v with %+v", conn, msg) - return websocket.JSON.Send(conn, msg) -} - -func (h *GoquiturHandler) notifyConns(path string, msg interface{}) { - conns, ok := h.subs[path] - if ok { - for _, conn := range conns { - go func(conn *websocket.Conn) { - if err := notifyConn(conn, msg); err != nil { - log.Println("Error while notifying a connection:", err) - } - }(conn) - } - } -} */