mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-17 02:20:27 +08:00
实现WAF
This commit is contained in:
11
internal/grids/opt_compress.go
Normal file
11
internal/grids/opt_compress.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package grids
|
||||
|
||||
type CompressOpt struct {
|
||||
Level int
|
||||
}
|
||||
|
||||
func NewCompressOpt(level int) *CompressOpt {
|
||||
return &CompressOpt{
|
||||
Level: level,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user