mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-13 03:40:25 +08:00
增加默认CC设置
This commit is contained in:
@@ -3,6 +3,11 @@
|
|||||||
|
|
||||||
package serverconfigs
|
package serverconfigs
|
||||||
|
|
||||||
|
// DefaultHTTPCCConfig 默认的CC配置
|
||||||
|
func DefaultHTTPCCConfig() *HTTPCCConfig {
|
||||||
|
return &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"` // 是否覆盖父级
|
||||||
|
|||||||
Reference in New Issue
Block a user