mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-08 02:20:24 +08:00
实现gzip
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user