Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ErrCfgNotFoun config file does not exist
ErrCfgNotFoun = "config file not found"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileWatcher ¶
type FileWatcher interface { Events() <-chan fsnotify.Event Errors() <-chan error Add(name string) error Remove(name string) error Close() error }
func NewEventWatcher ¶
func NewEventWatcher() (FileWatcher, error)
func NewPollingWatcher ¶
func NewPollingWatcher() FileWatcher
func NewWatcher ¶
func NewWatcher() (FileWatcher, error)
Click to show internal directories.
Click to hide internal directories.