mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-15 21:36:35 +08:00
支持brotli和deflate压缩方式
This commit is contained in:
7
pkg/serverconfigs/http_compression_gzip_ref.go
Normal file
7
pkg/serverconfigs/http_compression_gzip_ref.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package serverconfigs
|
||||
|
||||
type HTTPGzipRef struct {
|
||||
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖
|
||||
IsOn bool `yaml:"isOn" json:"isOn"` // 是否开启
|
||||
GzipId int64 `yaml:"gzipId" json:"gzipId"` // 使用的配置ID
|
||||
}
|
||||
Reference in New Issue
Block a user