Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Application *fiber.App
Context context.Context
Config *config.Configuration
Logger *logrus.Logger
DB *mongo.Database
RabbitMQ *amqp.Channel
GRPC *grpc.ClientConn
Tracer *trace.TracerProvider
}
App ...
func SetupApplication ¶
SetupApplication configuring dependencies app needed
type Dependency ¶
type Dependency struct {
HealthCheckController controller.HealthCheckController
UserController controller.UserController
}
func SetupDependencyInjection ¶
func SetupDependencyInjection(app *App) *Dependency
Click to show internal directories.
Click to hide internal directories.