Versions in this module Expand all Collapse all v1 v1.1.0 Jun 23, 2020 v1.0.0 Dec 1, 2019 Changes in this version + const Prefix + const UnmarshalKey + const UnmarshalKeyBind + var WireSet = wire.NewSet(Provider, Cfg) + var WireTestSet = wire.NewSet(Provider, CfgTest) + type Config struct + Bind string + Debug bool + func Cfg(cfg config.Configurator) (*Config, func(), error) + func CfgTest() (*Config, func(), error) + func (c *Config) OnReload(callback func(ctx context.Context)) + func (c *Config) Reload(ctx context.Context) + type Dispatcher interface + Dispatch func(http *echo.Echo) error + type HTTP struct + func New(ctx context.Context, set provider.AwareSet, dispatcher Dispatcher, cfg *Config) *HTTP + func Provider(ctx context.Context, set provider.AwareSet, dispatcher Dispatcher, cfg *Config) (*HTTP, func(), error) + func (h *HTTP) ListenAndServe() (err error)