mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-24 22:16:35 +08:00
实现WAF
This commit is contained in:
11
internal/grids/opt_limit_size.go
Normal file
11
internal/grids/opt_limit_size.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package grids
|
||||
|
||||
type LimitSizeOpt struct {
|
||||
Size int64
|
||||
}
|
||||
|
||||
func NewLimitSizeOpt(size int64) *LimitSizeOpt {
|
||||
return &LimitSizeOpt{
|
||||
Size: size,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user