反向代理实现AutoFlush

This commit is contained in:
刘祥超
2020-09-27 18:41:15 +08:00
parent d0417fe74f
commit 8773f7e34c
4 changed files with 7 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ type ReverseProxy struct {
StripPrefix string `field:"stripPrefix"` // 去除URL前缀
RequestHost string `field:"requestHost"` // 请求Host
RequestURI string `field:"requestURI"` // 请求URI
AutoFlush uint8 `field:"autoFlush"` // 是否自动刷新缓冲区
State uint8 `field:"state"` // 状态
CreatedAt uint64 `field:"createdAt"` // 创建时间
}
@@ -29,6 +30,7 @@ type ReverseProxyOperator struct {
StripPrefix interface{} // 去除URL前缀
RequestHost interface{} // 请求Host
RequestURI interface{} // 请求URI
AutoFlush interface{} // 是否自动刷新缓冲区
State interface{} // 状态
CreatedAt interface{} // 创建时间
}