增加多个API/规范命名

This commit is contained in:
刘祥超
2021-11-05 17:56:30 +08:00
parent ae4a8dfa5f
commit 9c4c6cc660
4 changed files with 479 additions and 232 deletions

View File

@@ -32,6 +32,9 @@ service APINodeService {
// 获取当前API节点的版本
rpc findCurrentAPINodeVersion (FindCurrentAPINodeVersionRequest) returns (FindCurrentAPINodeVersionResponse);
// 计算使用某个SSL证书的API节点数量
rpc countAllEnabledAPINodesWithSSLCertId (CountAllEnabledAPINodesWithSSLCertIdRequest) returns (RPCCountResponse);
}
// 创建API节点
@@ -115,4 +118,9 @@ message FindCurrentAPINodeVersionRequest {
message FindCurrentAPINodeVersionResponse {
string version = 1;
}
// 计算使用某个SSL证书的API节点数量
message CountAllEnabledAPINodesWithSSLCertIdRequest {
int64 sslCertId = 1;
}