单个网站的5秒盾可以自定义验证有效期

This commit is contained in:
刘祥超
2024-05-06 14:03:35 +08:00
parent 4890a0f70a
commit 8c1f5c47b0

View File

@@ -16,6 +16,7 @@ type UAMConfig struct {
ExceptURLPatterns []*shared.URLPattern `yaml:"exceptURLPatterns" json:"exceptURLPatterns"` // 排除的URL
MinQPSPerIP int `yaml:"minQPSPerIP" json:"minQPSPerIP"` // 启用要求的单IP最低平均QPS
Conds *shared.HTTPRequestCondsConfig `yaml:"conds" json:"conds"` // 匹配条件
KeyLife int `yaml:"keyLife" json:"keyLife"` // Key有效期
}
func NewUAMConfig() *UAMConfig {