Documentation ¶ Index ¶ type Config func NewConfig(config *store.ConfigStore) *Config func (c *Config) Config() interface{} func (c *Config) Get(key string) (Entry, error) func (c *Config) Watch(ctx context.Context, ch chan event.Event) error type Configuration type Entry Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { // contains filtered or unexported fields } func NewConfig ¶ func NewConfig(config *store.ConfigStore) *Config func (*Config) Config ¶ func (c *Config) Config() interface{} func (*Config) Get ¶ func (c *Config) Get(key string) (Entry, error) func (*Config) Watch ¶ func (c *Config) Watch(ctx context.Context, ch chan event.Event) error type Configuration ¶ type Configuration interface { Config() interface{} Get(key string) (Entry, error) Watch(ctx context.Context, ch chan event.Event) error } type Entry ¶ type Entry struct { Value interface{} } Source Files ¶ View all Source files app.go Click to show internal directories. Click to hide internal directories.