mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-07 23:30:25 +08:00
增加获取当前API节点信息API/增加修改节点API节点地址消息类型
This commit is contained in:
@@ -33,6 +33,9 @@ service APINodeService {
|
||||
// 获取当前API节点的版本
|
||||
rpc findCurrentAPINodeVersion (FindCurrentAPINodeVersionRequest) returns (FindCurrentAPINodeVersionResponse);
|
||||
|
||||
// 获取当前API节点的信息
|
||||
rpc findCurrentAPINode(FindCurrentAPINodeRequest) returns (FindCurrentAPINodeResponse);
|
||||
|
||||
// 计算使用某个SSL证书的API节点数量
|
||||
rpc countAllEnabledAPINodesWithSSLCertId (CountAllEnabledAPINodesWithSSLCertIdRequest) returns (RPCCountResponse);
|
||||
}
|
||||
@@ -120,7 +123,15 @@ message FindCurrentAPINodeVersionResponse {
|
||||
string version = 1;
|
||||
}
|
||||
|
||||
// 获取当前API节点的信息
|
||||
message FindCurrentAPINodeRequest {
|
||||
}
|
||||
|
||||
message FindCurrentAPINodeResponse {
|
||||
APINode apiNode = 1;
|
||||
}
|
||||
|
||||
// 计算使用某个SSL证书的API节点数量
|
||||
message CountAllEnabledAPINodesWithSSLCertIdRequest {
|
||||
int64 sslCertId = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user