_default

package
v0.7.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

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
}

Config config data structure

func NewConfig

func NewConfig(config *store.ConfigStore) *Config

NewConfig creates a new configuration data structure

func (*Config) Config

func (c *Config) Config() interface{}

Config returns config tree

func (*Config) Get

func (c *Config) Get(key string) (app.Entry, error)

Get gets config value based on a given key

func (*Config) Watch

func (c *Config) Watch(ctx context.Context, ch chan event.Event) error

Watch monitors config changes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL