实现路径规则各项数据修改

This commit is contained in:
GoEdgeLab
2020-09-22 11:36:40 +08:00
parent 83b9c87dd2
commit f3cb3e3880
3 changed files with 327 additions and 55 deletions

View File

@@ -23,6 +23,9 @@ service HTTPLocationService {
// 初始化Web设置
rpc findAndInitHTTPLocationWebConfig (FindAndInitHTTPLocationWebConfigRequest) returns (FindAndInitHTTPLocationWebConfigResponse);
// 修改反向代理设置
rpc updateHTTPLocationReverseProxy (UpdateHTTPLocationReverseProxyRequest) returns (RPCUpdateSuccess);
}
// 创建路径规则
@@ -79,4 +82,10 @@ message FindAndInitHTTPLocationWebConfigRequest {
message FindAndInitHTTPLocationWebConfigResponse {
bytes webJSON = 1;
}
}
// 修改反向代理设置
message UpdateHTTPLocationReverseProxyRequest {
int64 locationId = 1;
bytes reverseProxyJSON = 2;
}