优化代码

This commit is contained in:
GoEdgeLab
2022-09-11 14:41:14 +08:00
parent 0f1f2da912
commit f88b4fdccd
10 changed files with 86 additions and 72 deletions

View File

@@ -14,7 +14,7 @@ type NSNodeConfig struct {
Secret string `yaml:"secret" json:"secret"`
ClusterId int64 `yaml:"clusterId" json:"clusterId"`
AccessLogRef *NSAccessLogRef `yaml:"accessLogRef" json:"accessLogRef"`
RecursionConfig *RecursionConfig `yaml:"recursionConfig" json:"recursionConfig"`
RecursionConfig *NSRecursionConfig `yaml:"recursionConfig" json:"recursionConfig"`
DDoSProtection *ddosconfigs.ProtectionConfig `yaml:"ddosProtection" json:"ddosProtection"`
AllowedIPs []string `yaml:"allowedIPs" json:"allowedIPs"`