app

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 11 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

func SetupBus

func SetupBus(deps Dependencies)

SetupBus registers all event handlers with the provided event Bus.

Types

type Dependencies

type Dependencies struct {
	Bus               eventbus.Bus
	Uow               repository.UnitOfWork
	CurrencyConverter money.CurrencyConverter
	PaymentProvider   provider.PaymentProvider
	Logger            *slog.Logger
}

Dependencies 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