This commit is contained in:
simonzhangsz committed 2023-08-20 16:31:33 +08:00
1 parent e4fe101e4d
commit a2e1407da4
5 files changed
+69 -13

No files matched your search

+7 -4
View File
@@ -60,6 +60,7 @@ type YamlConfig struct {
CheckContentType bool `yaml:"checkContentType"`
TestMode bool `yaml:"testMode"`
RBACMode bool `yaml:"rbacMode"`
RunDir string `yaml:"runDir"`
} `yaml:"omc"`
Alarm struct {
@@ -98,10 +99,12 @@ type YamlConfig struct {
} `yaml:"ne"`
Auth struct {
Crypt string `yaml:"crypt"`
Token bool `yaml:"token"`
Expires uint32 `yaml:"expires"`
Session string `yaml:"session"`
Crypt string `yaml:"crypt"`
Token bool `yaml:"token"`
Expires uint32 `yaml:"expires"`
Session string `yaml:"session"`
PublicKey string `yaml:"publicKey"`
PrivateKey string `yaml:"privateKey"`
} `yaml:"auth"`
Params struct {