实现gzip

This commit is contained in:
刘祥超
2020-09-29 17:22:33 +08:00
parent a498f49451
commit c93a3e049a
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 {