Documentation ¶
Overview ¶
Package app initializes the application locator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GracefulDBShutdown ¶
GracefulDBShutdown close all db opened connection.
Types ¶
type Locator ¶
type Locator struct { Config *config.Config DBx *sqlx.DB Storage *sqluct.Storage handler.Provider ctxd.LoggerProvider clockSvc.ClockProvider GRPCUnitaryInterceptors []grpc.UnaryServerInterceptor AccountBalanceChecker usecase.AccountBalanceChecker BalanceUpdater usecase.BalanceUpdater TransactionAdder usecase.TransactionAdder QontoService *service.QontoService QontoRESTService *service.QontoRESTService // contains filtered or unexported fields }
Locator defines application resources.
func NewServiceLocator ¶
NewServiceLocator creates application locator.
Click to show internal directories.
Click to hide internal directories.