增加获取NS节点最新版本API

This commit is contained in:
GoEdgeLab
2022-09-08 10:42:33 +08:00
parent cb2b36c6a4
commit 164789990c
3 changed files with 3957 additions and 3759 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -55,6 +55,9 @@ service NSNodeService {
// 检查NS节点新版本
rpc checkNSNodeLatestVersion (CheckNSNodeLatestVersionRequest) returns (CheckNSNodeLatestVersionResponse);
// 获取NS节点最新版本
rpc findLatestNSNodeVersion (FindLatestNSNodeVersionRequest) returns (FindLatestNSNodeVersionResponse);
// 下载最新NS节点安装文件
rpc downloadNSNodeInstallationFile (DownloadNSNodeInstallationFileRequest) returns (DownloadNSNodeInstallationFileResponse);
@@ -213,6 +216,15 @@ message CheckNSNodeLatestVersionResponse {
string newVersion = 2;
}
// 取得最新的版本号
message FindLatestNSNodeVersionRequest {
}
message FindLatestNSNodeVersionResponse {
string version = 1;
}
// 下载最新NS节点安装文件
message DownloadNSNodeInstallationFileRequest {
string os = 1;