Versions in this module Expand all Collapse all v0 v0.0.6 Aug 17, 2021 v0.0.5 Aug 4, 2021 Changes in this version + const DftAddress + const DftReadTimeout + const DftShutdownTimeout + const DftWriteTimeout + type Base struct + func New(cfg config.Config) (*Base, error) + func (s *Base) AfterStop(fn func(svc Service)) + func (s *Base) BeforeStart(fn func(svc Service)) + func (s *Base) Config() config.Config + func (s *Base) Router() *mux.Router + func (s *Base) Run() + func (s *Base) Server() *http.Server + func (s *Base) Start() + func (s *Base) Stop() + type Service interface + AfterStop func(fn func(svc Service)) + BeforeStart func(fn func(svc Service)) + Config func() config.Config + Router func() *mux.Router + Run func() + Server func() *http.Server + Start func() + Stop func()