增加节点同步状态提示和任务列表

This commit is contained in:
GoEdgeLab
2021-01-17 16:47:29 +08:00
parent 9a6620d80b
commit b6ae2292c3
23 changed files with 557 additions and 245 deletions

View File

@@ -252,6 +252,10 @@ func (this *RPCClient) LoginRPC() pb.LoginServiceClient {
return pb.NewLoginServiceClient(this.pickConn())
}
func (this *RPCClient) NodeTaskRPC() pb.NodeTaskServiceClient {
return pb.NewNodeTaskServiceClient(this.pickConn())
}
// 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()