Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bus ¶
Bus represents an Event Bus.
func NewBus ¶
func NewBus() *Bus
NewBus returns a new empty Bus. This is simply a nicer wrapper around the system.SinkPool implementation that allows for more simplistic usage within the codebase.
All of the events emitted out of this bus are byte slices that can be decoded back into an events.Event interface.
Click to show internal directories.
Click to hide internal directories.