实现gzip

This commit is contained in:
GoEdgeLab
2020-09-29 17:22:33 +08:00
parent b2fa7c01ba
commit add9c74761
10 changed files with 47 additions and 45 deletions

View File

@@ -17,7 +17,7 @@ type HTTPLocation struct {
ReverseProxy string `field:"reverseProxy"` // 反向代理
UrlPrefix string `field:"urlPrefix"` // URL前缀
IsBreak uint8 `field:"isBreak"` // 是否终止匹配
CondGroups string `field:"condGroups"` // 匹配条件
Conds string `field:"conds"` // 匹配条件
}
type HTTPLocationOperator struct {
@@ -36,7 +36,7 @@ type HTTPLocationOperator struct {
ReverseProxy interface{} // 反向代理
UrlPrefix interface{} // URL前缀
IsBreak interface{} // 是否终止匹配
CondGroups interface{} // 匹配条件
Conds interface{} // 匹配条件
}
func NewHTTPLocationOperator() *HTTPLocationOperator {