docker / go-events

Composable event distribution for Go
Apache License 2.0
131 stars 22 forks source link

Add ListenerSink to allow users to watch events passing through sinks #25

Open halcyonCorsair opened 6 years ago

halcyonCorsair commented 6 years ago

Useful, e.g. for metrics.

This will allow the registry to use queue from this package, per docker/distribution#1553 and docker/distribution#2550.

Signed-off-by: Elliot Pahl elliot.pahl@gmail.com

stevvooe commented 6 years ago

This looks good. The only question I have is about error handling: do we want a way to have the listener detect the error on write?

thaJeztah commented 4 years ago

@dmcgowan @manishtomar ptal

manishtomar commented 4 years ago

@thaJeztah Could you add me as reviewer?

thaJeztah commented 4 years ago

@manishtomar sorry, don't have write access to this repository myself 😅