Versions in this module Expand all Collapse all v0 v0.0.1 Sep 17, 2019 Changes in this version + var DefaultConfig = NewConfig() + func Bytes() []byte + func Get(path ...string) reader.Value + func Load(source ...source.Source) error + func Map() map[string]interface + func Scan(v interface{}) error + func Sync() error + type Config interface + Close func() error + Load func(source ...source.Source) error + Sync func() error + Watch func(path ...string) (Watcher, error) + func NewConfig(opts ...Option) Config + type Option func(o *Options) + func WithLoader(l loader.Loader) Option + func WithReader(r reader.Reader) Option + func WithSource(s source.Source) Option + type Options struct + Context context.Context + Loader loader.Loader + Reader reader.Reader + Source []source.Source + type Watcher interface + Next func() (reader.Value, error) + Stop func() error + func Watch(path ...string) (Watcher, error)