Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirectoryWatcher ¶
type DirectoryWatcher struct { Events chan string // contains filtered or unexported fields }
func NewDirectoryWatcher ¶
func NewDirectoryWatcher() DirectoryWatcher
func NewDirectoryWatcherWithFiles ¶
func NewDirectoryWatcherWithFiles(directory string) (DirectoryWatcher, error)
func (*DirectoryWatcher) SetDirectory ¶
func (f *DirectoryWatcher) SetDirectory(directory string) error
func (*DirectoryWatcher) Start ¶
func (f *DirectoryWatcher) Start() error
type FileWatcher ¶
type FileWatcher struct { Events chan bool // contains filtered or unexported fields }
func NewFileWatcher ¶
func NewFileWatcher() FileWatcher
func (*FileWatcher) AddFile ¶
func (f *FileWatcher) AddFile(file string) error
func (*FileWatcher) Start ¶
func (f *FileWatcher) Start() error
Click to show internal directories.
Click to hide internal directories.