Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventPublisher ¶
type EventStore ¶
type EventSubscriber ¶
type EventSubscriber interface { // Subscribe returns a filtered event stream // events will be sent to the subscription until either: // - ctx is canceled // - returned channel is blocked for 10 seconds // note: method signature is based on https://medium.com/statuscode/pipeline-patterns-in-go-a37bb3a7e61d Subscribe( ctx context.Context, filter model.EventFilter, ) ( <-chan model.Event, <-chan error, ) }
type PubSub ¶
type PubSub interface { EventPublisher EventSubscriber }
Click to show internal directories.
Click to hide internal directories.