Versions in this module Expand all Collapse all v0 v0.0.9 Dec 13, 2021 v0.0.8 Dec 12, 2021 Changes in this version type BaseConfig + Initialized bool v0.0.7 Dec 7, 2021 Changes in this version + func MountDevPortal(r chi.Router, l *BaseLocator) + func NewBaseRouter(l *BaseLocator) chi.Router + func Start(envPrefix string, cfg WithBaseConfig, ...) + type BaseConfig struct + Debug debug.Config + Environment string + HTTPListenAddr string + Log zapctxd.Config + ServiceName string + ShutdownTimeout time.Duration + func (c *BaseConfig) Base() BaseConfig + type BaseLocator struct + BaseConfig BaseConfig + DebugRouter *debug.Mux + HTTPRequestDecoder *request.DecoderFactory + HTTPServerMiddlewares []func(h http.Handler) http.Handler + OpenAPI *openapi.Collector + Storage *sqluct.Storage + UseCaseMiddlewares []usecase.Middleware + func NewBaseLocator(cfg BaseConfig) (*BaseLocator, error) + func NoOpLocator() *BaseLocator + func (l *BaseLocator) SetupDebugRouter() + func (l *BaseLocator) StartHTTPServer(handler http.Handler) (string, error) + type WithBaseConfig interface + Base func() BaseConfig