Documentation ¶
Overview ¶
Package files_watcher Time : 2022/11/2 20:18 Author : xushiyin contact : yuqingxushiyin@gmail.com
Index ¶
- type FilesWatcher
- func (fw *FilesWatcher) AddFiles() error
- func (fw *FilesWatcher) CheckDirStructure() error
- func (fw *FilesWatcher) Close() error
- func (fw *FilesWatcher) GetAreaSrcDirEntries() error
- func (fw *FilesWatcher) IsDaemon() bool
- func (fw *FilesWatcher) LogErr(err error, message string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesWatcher ¶
func NewFilesWatcher ¶
func (*FilesWatcher) AddFiles ¶
func (fw *FilesWatcher) AddFiles() error
AddFiles adds files which are from config to the watcher
func (*FilesWatcher) CheckDirStructure ¶
func (fw *FilesWatcher) CheckDirStructure() error
func (*FilesWatcher) Close ¶
func (fw *FilesWatcher) Close() error
func (*FilesWatcher) GetAreaSrcDirEntries ¶
func (fw *FilesWatcher) GetAreaSrcDirEntries() error
func (*FilesWatcher) IsDaemon ¶
func (fw *FilesWatcher) IsDaemon() bool
Click to show internal directories.
Click to hide internal directories.