Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrCouldNotMarshalEvent ¶
ErrCouldNotMarshalEvent is when an event could not be marshaled into BSON.
func ErrCouldNotPublishEvent ¶
ErrCouldNotPublishEvent is when kafka-client cannot send event to kafka
func ErrCouldNotUnmarshalEvent ¶
ErrCouldNotUnmarshalEvent is when an event could not be unmarshaled into BSON.
Types ¶
type EventBus ¶
type EventBus struct {
// contains filtered or unexported fields
}
func (*EventBus) AddHandler ¶
func (b *EventBus) AddHandler(m eh.EventMatcher, h eh.EventHandler)
AddHandler implements the AddHandler method of the eventhorizon.EventBus interface.
func (*EventBus) AddObserver ¶
func (b *EventBus) AddObserver(m eh.EventMatcher, h eh.EventHandler)
AddObserver implements the AddObserver method of the eventhorizon.EventBus interface.
Click to show internal directories.
Click to hide internal directories.