mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-08-19 11:23:57 +08:00
refactor: drop unused hook config
This commit is contained in:
@@ -10,13 +10,4 @@ type hookExecConfig struct {
|
|||||||
TaskSuccess string `toml:"task_success" mapstructure:"task_success" json:"task_success"`
|
TaskSuccess string `toml:"task_success" mapstructure:"task_success" json:"task_success"`
|
||||||
TaskFail string `toml:"task_fail" mapstructure:"task_fail" json:"task_fail"`
|
TaskFail string `toml:"task_fail" mapstructure:"task_fail" json:"task_fail"`
|
||||||
TaskCancel string `toml:"task_cancel" mapstructure:"task_cancel" json:"task_cancel"`
|
TaskCancel string `toml:"task_cancel" mapstructure:"task_cancel" json:"task_cancel"`
|
||||||
|
|
||||||
// TaskTypes map[string]hookExecOnTypeConfig `toml:"task_types" mapstructure:"task_types" json:"task_types"` // [TODO]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// type hookExecOnTypeConfig struct {
|
|
||||||
// TaskBeforeStart string `toml:"task_before_start" mapstructure:"task_before_start" json:"task_before_start"`
|
|
||||||
// TaskSuccess string `toml:"task_success" mapstructure:"task_success" json:"task_success"`
|
|
||||||
// TaskFail string `toml:"task_fail" mapstructure:"task_fail" json:"task_fail"`
|
|
||||||
// TaskCancel string `toml:"task_cancel" mapstructure:"task_cancel" json:"task_cancel"`
|
|
||||||
// }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user