Documentation ¶
Index ¶
- func NewDomainEventHandlers(publisher am.MessagePublisher[ddd.Event]) ddd.EventHandler[ddd.Event]
- func NewIntegrationEventHandlers(stores domain.StoreCacheRepository, products domain.ProductCacheRepository) ddd.EventHandler[ddd.Event]
- func RegisterDomainEventHandlers(subscriber ddd.EventSubscriber[ddd.Event], ...)
- func RegisterDomainEventHandlersTx(container di.Container)
- func RegisterIntegrationEventHandlers(subscriber am.EventSubscriber, handlers ddd.EventHandler[ddd.Event]) (err error)
- func RegisterIntegrationEventHandlersTx(container di.Container) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDomainEventHandlers ¶
func NewDomainEventHandlers(publisher am.MessagePublisher[ddd.Event]) ddd.EventHandler[ddd.Event]
func NewIntegrationEventHandlers ¶
func NewIntegrationEventHandlers(stores domain.StoreCacheRepository, products domain.ProductCacheRepository) ddd.EventHandler[ddd.Event]
func RegisterDomainEventHandlers ¶
func RegisterDomainEventHandlers(subscriber ddd.EventSubscriber[ddd.Event], handlers ddd.EventHandler[ddd.Event])
func RegisterIntegrationEventHandlers ¶
func RegisterIntegrationEventHandlers(subscriber am.EventSubscriber, handlers ddd.EventHandler[ddd.Event]) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.