全局配置有变化时也提示更新集群

This commit is contained in:
GoEdgeLab
2020-11-02 10:45:07 +08:00
parent 81431655c6
commit 58226da3cd
2 changed files with 350 additions and 186 deletions

View File

@@ -81,6 +81,9 @@ service ServerService {
// 计算使用某个分组的服务数量
rpc countAllEnabledServersWithGroupId (CountAllEnabledServersWithGroupIdRequest) returns (CountAllEnabledServersWithGroupIdResponse);
// 通知更新
rpc notifyServersChange (NotifyServersChangeRequest) returns (NotifyServersChangeResponse);
}
// 创建服务
@@ -299,3 +302,11 @@ message CountAllEnabledServersWithGroupIdResponse {
int64 count = 1;
}
// 通知更新
message NotifyServersChangeRequest {
}
message NotifyServersChangeResponse {
}