Versions in this module Expand all Collapse all v1 v1.0.3 Nov 19, 2022 v1.0.2 Oct 20, 2022 Changes in this version + type BaseConfig struct + ConfigEventBuffer chan common.ConfigEvent + FileName string + Name string + func NewBaseConfig(name, fileName string) BaseConfig + func (c *BaseConfig) Listen(ctx context.Context, timeout time.Duration) <-chan common.ConfigEventListenResult + func (c *BaseConfig) ListenSource(ctx context.Context, source common.ConfigSource, configInstance interface{}) + type BaseInfra struct + ConfigImpl common.ConfigImpl + InfraName string + StartFunc func(ctx context.Context) error + StopFunc func() error + func NewBaseInfra(infraName string, configImpl common.ConfigImpl, ...) BaseInfra + func (i *BaseInfra) Restart(ctx context.Context) error + func (i *BaseInfra) Start(ctx context.Context) error + func (i *BaseInfra) Stop() error