Documentation ¶
Index ¶
- func NewCommandHandlers(app application.App) ddd.CommandHandler[ddd.Command]
- func NewDomainEventHandlers(publisher am.MessagePublisher[ddd.Event]) ddd.EventHandler[ddd.AggregateEvent]
- func RegisterCommandHandlers(subscriber am.RawMessageSubscriber, handlers am.RawMessageHandler) error
- func RegisterCommandHandlersTx(container di.Container) error
- func RegisterDomainEventHandlers(subscriber ddd.EventSubscriber[ddd.AggregateEvent], ...)
- func RegisterDomainEventHandlersTx(container di.Container)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandHandlers ¶
func NewCommandHandlers(app application.App) ddd.CommandHandler[ddd.Command]
func NewDomainEventHandlers ¶
func NewDomainEventHandlers(publisher am.MessagePublisher[ddd.Event]) ddd.EventHandler[ddd.AggregateEvent]
func RegisterCommandHandlers ¶
func RegisterCommandHandlers(subscriber am.RawMessageSubscriber, handlers am.RawMessageHandler) error
func RegisterDomainEventHandlers ¶
func RegisterDomainEventHandlers(subscriber ddd.EventSubscriber[ddd.AggregateEvent], handlers ddd.EventHandler[ddd.AggregateEvent])
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.