# Functions
Listen dispatches events on the repository to the listener.
NewBridge returns a notification listener that writes records to sink, using the actor and source.
NewBroadcaster ..
NewEndpoint returns a running endpoint, ready to receive events.
NewRequestRecord builds a RequestRecord for use in NewBridge from an http.Request, associating it with a request id.
# Constants
EventAction constants used in action field of Event.
EventAction constants used in action field of Event.
EventAction constants used in action field of Event.
EventAction constants used in action field of Event.
EventsMediaType is the mediatype for the json event envelope.
# Variables
ErrSinkClosed is returned if a write is issued to a sink that has been closed.
# Structs
ActorRecord specifies the agent that initiated the event.
Broadcaster sends events to multiple, reliable Sinks.
Endpoint is a reliable, queued, thread-safe sink that notify external http services when events are written.
EndpointConfig covers the optional configuration parameters for an active endpoint.
EndpointMetrics track various actions taken by the endpoint, typically by number of events.
Envelope defines the fields of a json event envelope message that can hold one or more events.
Event provides the fields required to describe a registry event.
RequestRecord covers the request that generated the event.
SourceRecord identifies the registry node that generated the event.
# Interfaces
BlobListener describes a listener that can respond to layer related events.
Listener combines all repository events into a single interface.
ManifestListener describes a set of methods for listening to events related to manifests.
RepoListener provides repository methods that respond to repository lifecycle.
Sink accepts and sends events.
URLBuilder defines a subset of url builder to be used by the event listener.