diff --git a/serv.go b/serv.go index 040b520..48441c7 100644 --- a/serv.go +++ b/serv.go @@ -306,11 +306,6 @@ func main() { Handler: loggedRouter, // Pass our instance of gorilla/mux in. } - // hub := newHub() - // go hub.run() - // r.HandleFunc("/ws/{topic}/{offset}", func(w http.ResponseWriter, r *http.Request) { - // serveWs(w, r) - // }) router.Path("/ws/{topic}/{partition}").Queries("offset", "{offset}").HandlerFunc(websocketHandler).Name("web-socket") // Run our server in a goroutine so that it doesn't block.