Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus interface { // Dispatch is the method used to dispatch new commands. Dispatch(context.Context, Command) error // Register is the method used to register a new command handler. Register(Type, Handler) }
Bus defines the expected behaviour from a command bus.
Click to show internal directories.
Click to hide internal directories.