Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide( controllers.NewSwaggerController, controllers.NewHealthCheckController, controllers.NewCorrelationIdController, NewHttpServer, ), fx.Invoke( func(*http.Server) {}, ), )
Functions ¶
func NewHttpServer ¶
func NewHttpServer( lc fx.Lifecycle, cfg *configuration.Config, logger *zap.Logger, swaggerController *controllers.SwaggerController, healthCheckController *controllers.HealthCheckController, correlationIdController *controllers.CorrelationIdController, ) *http.Server
@title Golang Api Template @version 1.0 @description An example template of a Golang backend API using Fx, Gin, Zap (ECS format) and more @contact.name Gustavo Santos @license.name MIT @BasePath /
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.