Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct { Watcher *fsnotify.Watcher WatchedFiles []string // contains filtered or unexported fields }
Watcher encapsulates file watch and configuration, abstracting form the underlying file watch provider
func (*Watcher) AddToWatch ¶
AddToWatch adds files to a WatchedFiles list monitored by this webhook's Watcher. The Watcher is created on demand if it's nil when the operation is invoked.
Click to show internal directories.
Click to hide internal directories.