mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
修复一处编译错误
This commit is contained in:
@@ -32,8 +32,9 @@ func DefaultHTTPCCConfig() *HTTPCCConfig {
|
||||
|
||||
// HTTPCCConfig HTTP CC防护配置
|
||||
type HTTPCCConfig struct {
|
||||
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖父级
|
||||
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用
|
||||
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖父级
|
||||
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用
|
||||
Thresholds []*HTTPCCThreshold `yaml:"thresholds" json:"thresholds"` // 阈值设置
|
||||
}
|
||||
|
||||
func NewHTTPCCConfig() *HTTPCCConfig {
|
||||
|
||||
Reference in New Issue
Block a user