mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-29 06:16:40 +08:00
实现路径规则各项数据修改
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user