Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event interface { // Type returns the event type. Type() string }
Event marks items that can be sent as events.
type PublishableEvent ¶
type Publisher ¶
type Publisher interface { // Write an event to the Publisher. If no error is returned, the caller will // assume that all events have been committed to the publisher. If an error is // received, the caller may retry sending the event. Write(event PublishableEvent) error }
Publisher accepts and sends events.
type SubscribableEvent ¶
type Subscriber ¶
type SubscriberHandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.