Versions in this module Expand all Collapse all v1 v1.1.0 Jan 9, 2021 Changes in this version + type DependencyConfig struct + func (d *DependencyConfig) AddSection(section, typ string) error + func (d *DependencyConfig) Del(section, option string) error + func (d *DependencyConfig) DelSection(section string) error + func (d *DependencyConfig) Get(section, option string) ([]string, bool, error) + func (d *DependencyConfig) GetBool(section, option string) (bool, bool, error) + func (d *DependencyConfig) GetBoolDefault(section, option string, def bool) (bool, error) + func (d *DependencyConfig) GetInt(section, option string) (int, bool, error) + func (d *DependencyConfig) GetIntDefault(section, option string, def int) (int, error) + func (d *DependencyConfig) GetIntList(section, option string) ([]int, bool, error) + func (d *DependencyConfig) GetLast(section, option string) (string, bool, error) + func (d *DependencyConfig) GetSections(secType string) ([]string, bool, error) + func (d *DependencyConfig) GetStringDefault(section, option string, def string) (string, error) + func (d *DependencyConfig) Set(section, option string, values ...string) (bool, error) + func (d DependencyConfig) ID() instance.ID v1.0.0 Jan 9, 2021 Changes in this version + func Init(id instance.ID, logger instance.LoggerFunc, error instance.ErrorFunc, ...) instance.Instance + type Config struct + func (c *Config) AddSection(section, typ string) error + func (c *Config) Del(section, option string) error + func (c *Config) DelSection(section string) error + func (c *Config) Dependencies() instance.Dependencies + func (c *Config) Get(section, option string) ([]string, bool, error) + func (c *Config) GetBool(section, option string) (bool, bool, error) + func (c *Config) GetBoolDefault(section, option string, def bool) (bool, error) + func (c *Config) GetDependentInstance(_ instance.ID) instance.DependencyInstance + func (c *Config) GetInt(section, option string) (int, bool, error) + func (c *Config) GetIntDefault(section, option string, def int) (int, error) + func (c *Config) GetIntList(section, option string) ([]int, bool, error) + func (c *Config) GetLast(section, option string) (string, bool, error) + func (c *Config) GetSections(secType string) ([]string, bool, error) + func (c *Config) GetStringDefault(section, option string, def string) (string, error) + func (c *Config) ID() instance.ID + func (c *Config) OnServiceListChanged() + func (c *Config) Set(section, option string, values ...string) (bool, error) + func (c *Config) SetDependenciesChangedHandler(_ func()) + func (c *Config) SetDependency(i instance.DependencyInstance) + func (c *Config) SetServiceListGetter(_ func() []string) + func (c *Config) Start() + func (c *Config) Stop() + func (c *Config) UnsetDependency(id instance.ID)