Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenForEvents ¶
func ListenForEvents(emitter *EventsEmitter)
Types ¶
type EventsEmitter ¶
func NewEventsEmitter ¶
func NewEventsEmitter() *EventsEmitter
func (*EventsEmitter) Emit ¶
func (emitter *EventsEmitter) Emit(topic string, payload []byte)
func (*EventsEmitter) On ¶
func (emitter *EventsEmitter) On(topic string, handler message.HandlerFunc)
func (*EventsEmitter) Run ¶
func (emitter *EventsEmitter) Run()
Click to show internal directories.
Click to hide internal directories.