增加默认CC设置

This commit is contained in:
刘祥超
2023-03-26 12:40:50 +08:00
parent 8d067b6efc
commit 033a3a624d

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