1 Star 0 Fork 42

Game-FinalTeam / fileboy

forked from deng-dev / fileboy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
filegirl.go 680 Bytes
一键复制 编辑 原始数据 按行查看 历史
dengsgo 提交于 2019-12-06 11:51 . 增加 动态监听
package main
type FileGirl struct {
Core struct {
Version int `yaml:"version"`
}
Monitor struct {
Types []string `yaml:"types"`
IncludeDirs []string `yaml:"includeDirs"`
ExceptDirs []string `yaml:"exceptDirs"`
Events []string `yaml:"events"`
// convert to
TypesMap map[string]bool `yaml:"-"`
IncludeDirsMap map[string]bool `yaml:"-"`
ExceptDirsMap map[string]bool `yaml:"-"`
DirsMap map[string]bool `yaml:"-"`
IncludeDirsRec map[string]bool `yaml:"-"`
}
Command struct {
Exec []string `yaml:"exec"`
DelayMillSecond int `yaml:"delayMillSecond"`
}
Notifier struct {
CallUrl string `yaml:"callUrl"`
}
}
Go
1
https://gitee.com/Game-FinalTeam/fileboy.git
git@gitee.com:Game-FinalTeam/fileboy.git
Game-FinalTeam
fileboy
fileboy
master

搜索帮助