package
Version:
v0.0.0-...-ee0c78d
Opens a new window with list of versions in this module.
Published: Jul 29, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CommandBus struct {
}
CommandBus is an in-memory implementation of the command.Bus.
NewCommandBus initializes a new instance of CommandBus.
func (*CommandBus) Dispatch ¶
Dispatch implements the command.Bus interface.
func (*CommandBus) Register ¶
Register implements the command.Bus interface.
EventBus is an in-memory implementation of the event.Bus.
NewEventBus initializes a new EventBus.
Publish implements the event.Bus interface.
Subscribe implements the event.Bus interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.