Merge pull request #252 from mohag/master

Add event handler for Unixgram
This commit is contained in:
Matthias Rampke 2019-07-25 15:11:43 +02:00 committed by GitHub
commit 074fc349b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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