Add event handler for Unixgram

Signed-off-by: Gert van den Berg <gert.vandenberg@iotnxt.com>
This commit is contained in:
Gert van den Berg 2019-07-23 15:57:26 +02:00
parent e60f2f147b
commit b555158e53

View file

@ -216,7 +216,7 @@ func main() {
}
}
ul := &StatsDUnixgramListener{conn: uxgconn}
ul := &StatsDUnixgramListener{conn: uxgconn, eventHandler: eventQueue}
go ul.Listen()
// if it's an abstract unix domain socket, it won't exist on fs