Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWatcherStopped = errors.New("watcher stopped") ErrNotImplement = errors.New("method not implement") )
Functions ¶
This section is empty.
Types ¶
type KV ¶
type KV interface { Set(key string, val []byte, opts ...Option) error Get(key string, opts ...Option) ([]KVPair, error) Del(key string, opts ...Option) error Watch(opts ...Option) Watcher Close() error String() string }
KV is the source from which config is loaded.
type NopWatcher ¶
type NopWatcher struct{}
func (NopWatcher) Next ¶
func (NopWatcher) Next() ([]Event, error)
func (NopWatcher) Stop ¶
func (NopWatcher) Stop() error
Click to show internal directories.
Click to hide internal directories.