Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { application.Application // contains filtered or unexported fields }
func LogApplicationAccess ¶
func LogApplicationAccess(application application.Application, logger zerolog.Logger) Application
func (Application) GetOrder ¶
func (a Application) GetOrder(ctx context.Context, get application.GetOrder) (order *models.Order, err error)
func (Application) SearchOrders ¶
func (a Application) SearchOrders(ctx context.Context, search application.SearchOrders) (orders []*models.Order, err error)
type EventHandlers ¶
type EventHandlers[T ddd.Event] struct { ddd.EventHandler[T] // contains filtered or unexported fields }
func LogEventHandlerAccess ¶
func LogEventHandlerAccess[T ddd.Event](handlers ddd.EventHandler[T], label string, logger zerolog.Logger) EventHandlers[T]
func (EventHandlers[T]) HandleEvent ¶
func (h EventHandlers[T]) HandleEvent(ctx context.Context, event T) (err error)
Click to show internal directories.
Click to hide internal directories.