Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoader ¶
func NewLoader(filename string, opts ...LoaderOption) easyconfmgr.Loader
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) ContentType ¶
type LoaderOption ¶
type LoaderOption func(loader *Loader)
func ContentType ¶
func ContentType(contentType string) LoaderOption
func Logger ¶
func Logger(log easyconfmgr.Logger) LoaderOption
func WithLogger ¶
func WithLogger(log easyconfmgr.Logger) LoaderOption
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func NewWatcher(filename string, opts ...WatcherOption) *Watcher
func (*Watcher) Events ¶
func (watcher *Watcher) Events() <-chan *easyconfmgr.Event
type WatcherOption ¶
type WatcherOption func(watcher *Watcher)
Click to show internal directories.
Click to hide internal directories.