增加默认CC设置

This commit is contained in:
GoEdgeLab
2023-03-26 12:40:50 +08:00
parent a393dd2b47
commit 62fa08ed58

View File

@@ -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"` // 是否覆盖父级