go-events
go-events copied to clipboard
Add ListenerSink to allow users to watch events passing through sinks
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 [email protected]
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?
@dmcgowan @manishtomar ptal
@thaJeztah Could you add me as reviewer?
@manishtomar sorry, don't have write access to this repository myself 😅