Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ProviderProductionSet provides a new Router for use in production. ProviderProductionSet = wire.NewSet(Provide, Cfg, handlers.ProvideHandlerManager, validator.ProviderSet) // ProviderTestSet provides a new Router for use in testing. ProviderTestSet = wire.NewSet(Provide, CfgTest) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Environment string Middleware []gin.HandlerFunc HandlerManager *handlers.HandlerManager RootEndpoint string Validator *validator.Validator }
Config contains the parameters for configuring a Router.
Click to show internal directories.
Click to hide internal directories.