支持brotli和deflate压缩方式

This commit is contained in:
GoEdgeLab
2021-09-29 19:37:32 +08:00
parent f90c362785
commit 8fabdd579e
16 changed files with 836 additions and 286 deletions

View 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
}