mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
增加默认CC设置
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
|
||||
package serverconfigs
|
||||
|
||||
// DefaultHTTPCCConfig 默认的CC配置
|
||||
func DefaultHTTPCCConfig() *HTTPCCConfig {
|
||||
return &HTTPCCConfig{}
|
||||
}
|
||||
|
||||
// HTTPCCConfig HTTP CC防护配置
|
||||
type HTTPCCConfig struct {
|
||||
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖父级
|
||||
|
||||
Reference in New Issue
Block a user