2022-09-23 09:50:52 +08:00
|
|
|
package paramtable
|
|
|
|
|
|
|
|
const hookYamlFile = "hook.yaml"
|
|
|
|
|
2022-12-07 18:01:19 +08:00
|
|
|
type hookConfig struct {
|
2022-12-16 15:59:23 +08:00
|
|
|
SoPath ParamItem `refreshable:"false"`
|
|
|
|
SoConfig ParamGroup `refreshable:"false"`
|
2022-09-23 09:50:52 +08:00
|
|
|
}
|
|
|
|
|
2022-12-07 18:01:19 +08:00
|
|
|
func (h *hookConfig) init() {
|
|
|
|
base := &BaseTable{YamlFile: hookYamlFile}
|
2023-01-19 14:53:44 +08:00
|
|
|
base.init(0)
|
2022-09-23 09:50:52 +08:00
|
|
|
|
2022-12-07 18:01:19 +08:00
|
|
|
h.SoPath = ParamItem{
|
|
|
|
Key: "soPath",
|
|
|
|
Version: "2.0.0",
|
|
|
|
DefaultValue: "",
|
|
|
|
}
|
|
|
|
h.SoPath.Init(base.mgr)
|
2022-09-23 09:50:52 +08:00
|
|
|
|
2022-12-07 18:01:19 +08:00
|
|
|
h.SoConfig = ParamGroup{
|
|
|
|
KeyPrefix: "",
|
|
|
|
Version: "2.2.0",
|
|
|
|
}
|
|
|
|
h.SoConfig.Init(base.mgr)
|
2022-09-23 09:50:52 +08:00
|
|
|
}
|