Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Application *gin.Engine
Context context.Context
Config *config.Configuration
Logger *logrus.Logger
DB *pgxpool.Pool
Redis *redis.Client
Tracer *trace.TracerProvider
Mailer *gomail.Dialer
CustomerGRPC *grpc.ClientConn
MerchantGRPC *grpc.ClientConn
WalletGRPC *grpc.ClientConn
}
App ..
func SetupApplication ¶
SetupApplication configuring dependencies app needed
type Dependency ¶
type Dependency struct {
HealthCheckController controller.HealthCheckController
AuthController controller.AuthController
}
func SetupDependencyInjection ¶
func SetupDependencyInjection(app *App) *Dependency
Click to show internal directories.
Click to hide internal directories.