Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandBus ¶
type CommandBus struct { Connection *amqp.Connection Channel *amqp.Channel }
func NewCommandBus ¶
func NewCommandBus(connectionURL string) (*CommandBus, error)
func (*CommandBus) Close ¶
func (c *CommandBus) Close() error
type EventBus ¶
type EventBus struct { Connection *amqp.Connection Channel *amqp.Channel }
EventBus is an in-memory implementation of the event.Bus.
func NewEventBus ¶
NewEventBus initializes a new EventBus.
Click to show internal directories.
Click to hide internal directories.