mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-10 12:00:28 +08:00
实现WAF
This commit is contained in:
11
internal/grids/opt_limit_count.go
Normal file
11
internal/grids/opt_limit_count.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package grids
|
||||
|
||||
type LimitCountOpt struct {
|
||||
Count int
|
||||
}
|
||||
|
||||
func NewLimitCountOpt(count int) *LimitCountOpt {
|
||||
return &LimitCountOpt{
|
||||
Count: count,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user