修改部分小数数字精度(float->double),增加用户服务状态API

This commit is contained in:
GoEdgeLab
2022-10-23 16:29:08 +08:00
parent 44b7858b19
commit 66e5b0ac5d
29 changed files with 5310 additions and 4750 deletions

View File

@@ -122,6 +122,9 @@ service ServerService {
// 查找一个用户下的所有服务
rpc findAllUserServers(FindAllUserServersRequest) returns (FindAllUserServersResponse);
// 查找某个用户下的服务配置
rpc composeAllUserServersConfig(ComposeAllUserServersConfigRequest) returns (ComposeAllUserServersConfigResponse);
// 查找用户服务基本信息
rpc findEnabledUserServerBasic (FindEnabledUserServerBasicRequest) returns (FindEnabledUserServerBasicResponse);
@@ -474,6 +477,15 @@ message FindAllUserServersResponse {
repeated Server servers = 1; // 只返回一些简要信息
}
// 查找某个用户下的服务配置
message ComposeAllUserServersConfigRequest {
int64 userId = 1;
}
message ComposeAllUserServersConfigResponse {
bytes serversConfigJSON = 1; // [server config1, server config2, ...]
}
// 查找用户服务基本信息
message FindEnabledUserServerBasicRequest {
int64 serverId = 1;