handlers

package
v0.0.0-...-76fafce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandHandlers

func NewCommandHandlers(reg registry.Registry, app application.App, replyPublisher am.ReplyPublisher, mws ...am.MessageHandlerMiddleware) am.MessageHandler

func NewDomainEventHandlers

func NewDomainEventHandlers(publisher am.EventPublisher) ddd.EventHandler[ddd.AggregateEvent]

func RegisterCommandHandlers

func RegisterCommandHandlers(subscriber am.MessageSubscriber, handlers am.MessageHandler) error

func RegisterCommandHandlersTx

func RegisterCommandHandlersTx(container di.Container) error

func RegisterDomainEventHandlers

func RegisterDomainEventHandlers(subscriber ddd.EventSubscriber[ddd.AggregateEvent], handlers ddd.EventHandler[ddd.AggregateEvent])

func RegisterDomainEventHandlersTx

func RegisterDomainEventHandlersTx(container di.Container)

func RegisterIntegrationEventHandlers

func RegisterIntegrationEventHandlers(subscriber am.MessageSubscriber, handlers am.MessageHandler) (err error)

func RegisterIntegrationEventHandlersTx

func RegisterIntegrationEventHandlersTx(container di.Container) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL