fileboy/filegirl.go

21 lines
466 B
Go
Raw Normal View History

2018-09-10 08:23:27 +00:00
package main
type FileGirl struct {
Core struct {
Version int `yaml:"version"`
}
Monitor struct {
2019-04-01 07:32:27 +00:00
Types []string `yaml:"types"`
TypesMap map[string]bool `yaml:"-"`
IncludeDirs []string `yaml:"includeDirs"`
ExceptDirs []string `yaml:"exceptDirs"`
2018-09-10 08:23:27 +00:00
}
Command struct {
Exec []string `yaml:"exec"`
DelayMillSecond int `yaml:"delayMillSecond"`
2018-09-10 08:23:27 +00:00
}
2019-01-02 11:07:52 +00:00
Notifier struct {
CallUrl string `yaml:"callUrl"`
}
2018-09-10 08:23:27 +00:00
}