Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandBus ¶
type CommandBus interface { Dispatch(cmd Command) PushHandler(handler CommandHandler) }
func NewGenericCommandBus ¶
func NewGenericCommandBus() CommandBus
type CommandHandler ¶
type GenericCommandBus ¶
type GenericCommandBus struct {
// contains filtered or unexported fields
}
func (*GenericCommandBus) Dispatch ¶
func (bus *GenericCommandBus) Dispatch(cmd Command)
func (*GenericCommandBus) PushHandler ¶
func (bus *GenericCommandBus) PushHandler(handler CommandHandler)
Click to show internal directories.
Click to hide internal directories.