mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-07 15:20:24 +08:00
修复一处编译错误
This commit is contained in:
@@ -34,6 +34,7 @@ func DefaultHTTPCCConfig() *HTTPCCConfig {
|
|||||||
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