支持brotli和deflate压缩方式

This commit is contained in:
刘祥超
2021-09-29 19:37:32 +08:00
parent b488c76204
commit 04f47fe8ed
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
}