Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WireSet = wire.NewSet( ProviderDispatcher, ProviderCfg, ProviderGlobalCfg, ProviderServices, wire.Struct(new(AppSet), "*"), ) WireTestSet = wire.NewSet( ProviderDispatcher, ProviderCfg, ProviderGlobalCfg, ProviderServices, wire.Struct(new(AppSet), "*"), ) )
Functions ¶
func ProviderGlobalCfg ¶
func ProviderGlobalCfg(cfg config.Configurator) (*glbConfig.Config, func(), error)
ProviderGlobalCfg
Types ¶
type Config ¶
type Config struct { Debug bool `fallback:"shared.debug"` WorkDir string PathRouteDump string // contains filtered or unexported fields }
Config
type Dispatcher ¶
Dispatcher
func New ¶
func New(ctx context.Context, set provider.AwareSet, appSet AppSet, cfg *Config, globalCfg *glbConfig.Config) *Dispatcher
New
func ProviderDispatcher ¶
func ProviderDispatcher(ctx context.Context, set provider.AwareSet, appSet AppSet, cfg *Config, globalCfg *glbConfig.Config) (*Dispatcher, func(), error)
ProviderDispatcher
func (*Dispatcher) RecoverMiddleware ¶
func (d *Dispatcher) RecoverMiddleware() echo.MiddlewareFunc
RecoverMiddleware
Click to show internal directories.
Click to hide internal directories.