remove dashboard connection log

This commit is contained in:
Fabricio 2017-11-18 10:18:41 -02:00
parent f0199585af
commit af57bbad2b

View file

@ -14,15 +14,8 @@ func getSocketHandler() http.Handler {
if err != nil {
log.Fatal(err)
}
server.On("connection", func(so socketio.Socket) {
socket = so
log.Println("dashboard is connected")
so.On("disconnection", func() {
log.Println("dashboard is disconnected")
})
emit(captures)
})
server.On("error", func(so socketio.Socket, err error) {