app

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2025 License: MIT Imports: 20 Imported by: 0

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 App struct {
	Deps            *Deps
	Config          *config.App
	AuthService     *auth.Service
	UserService     *user.Service
	AccountService  *account.Service
	CurrencyService *currencyScv.Service
	CheckoutService *checkout.Service
}

func New added in v1.2.0

func New(deps *Deps, cfg *config.App) *App

type Deps added in v1.2.0

type Deps struct {
	Uow                      repository.UnitOfWork
	CurrencyConverter        money.CurrencyConverter
	CurrencyRegistry         *currency.Registry
	CheckoutRegistryProvider registry.Provider
	PaymentProvider          provider.PaymentProvider
	EventBus                 eventbus.Bus
	Logger                   *slog.Logger
}

Deps contains all the dependencies needed by the SetupBus function

Jump to

Keyboard shortcuts

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