mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-05 01:20:26 +08:00
12 lines
144 B
Go
12 lines
144 B
Go
|
|
package grids
|
||
|
|
|
||
|
|
type CompressOpt struct {
|
||
|
|
Level int
|
||
|
|
}
|
||
|
|
|
||
|
|
func NewCompressOpt(level int) *CompressOpt {
|
||
|
|
return &CompressOpt{
|
||
|
|
Level: level,
|
||
|
|
}
|
||
|
|
}
|