重构 指令

This commit is contained in:
dengsgo
2020-03-03 11:37:20 +08:00
parent f989590d14
commit b72caedcbb
6 changed files with 56 additions and 47 deletions

View File

@@ -18,14 +18,14 @@ type FileGirl struct {
IncludeDirsRec map[string]bool `yaml:"-"`
}
Command struct {
Instruction []string `yaml:"instruction"`
Exec []string `yaml:"exec"`
DelayMillSecond int `yaml:"delayMillSecond"`
// convert to
InstructionMap map[string]bool `yaml:"-"`
}
Notifier struct {
CallUrl string `yaml:"callUrl"`
}
Instruction []string `yaml:"instruction"`
// convert to
InstructionMap map[string]bool `yaml:"-"`
}