Documentation
¶
Overview ¶
Package app provides functionality for setting up and configuring the event Bus with all necessary event handlers for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶ added in v1.2.0
type Deps ¶ added in v1.2.0
type Deps struct {
// Registry providers
RegistryProvider registry.Provider // Main registry provider
CurrencyRegistry registry.Provider // For currency service
CheckoutRegistry registry.Provider // For checkout service
ExchangeRateRegistry registry.Provider // For exchange rate service
// Other dependencies
ExchangeRateProvider exchange.Exchange
PaymentProvider payment.Payment
Uow repository.UnitOfWork
EventBus eventbus.Bus
Logger *slog.Logger
}
Deps contains all the dependencies needed by the SetupBus function
Click to show internal directories.
Click to hide internal directories.