Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func NewWatcher(cfw fs.CachedFileWatcher, path string, logger *zap.SugaredLogger) (*Watcher, error)
func (*Watcher) AddCallback ¶
func (cw *Watcher) AddCallback(cb WatcherCallback)
type WatcherCallback ¶
Click to show internal directories.
Click to hide internal directories.