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