handlers

package
v0.0.0-...-0ebfa01 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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.Event]

func NewIntegrationEventHandlers

func NewIntegrationEventHandlers(app application.App) ddd.EventHandler[ddd.Event]

func RegisterCommandHandlers

func RegisterCommandHandlers(subscriber am.RawMessageSubscriber, handlers am.RawMessageHandler) error

func RegisterCommandHandlersTx

func RegisterCommandHandlersTx(container di.Container) error

func RegisterDomainEventHandlers

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

func RegisterDomainEventHandlersTx

func RegisterDomainEventHandlersTx(container di.Container)

func RegisterIntegrationEventHandlers

func RegisterIntegrationEventHandlers(subscriber am.EventSubscriber, handlers ddd.EventHandler[ddd.Event]) (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