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

This commit is contained in:
刘祥超
2020-09-22 11:36:40 +08:00
parent 0a3a751620
commit 337726e930
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;
}