实现新的CC

This commit is contained in:
刘祥超
2021-07-19 10:49:56 +08:00
parent d775dfeeaa
commit 7e37fc3b80
6 changed files with 71 additions and 3 deletions

View File

@@ -185,12 +185,19 @@ var AllCheckpoints = []*CheckpointDefinition{
Instance: new(RequestHeaderCheckpoint),
},
{
Name: "CC统计",
Name: "CC统计(旧)",
Prefix: "cc",
Description: "统计某段时间段内的请求信息",
HasParams: true,
Instance: new(CCCheckpoint),
},
{
Name: "CC统计",
Prefix: "cc2",
Description: "统计某段时间段内的请求信息",
HasParams: true,
Instance: new(CC2Checkpoint),
},
{
Name: "通用响应Header长度限制",
Prefix: "responseGeneralHeaderLength",