记录和显示最近常用的集群

This commit is contained in:
GoEdgeLab
2021-05-03 11:32:59 +08:00
parent 6ead9a6496
commit 8698f302d5
6 changed files with 49 additions and 2 deletions

View File

@@ -340,6 +340,10 @@ func (this *RPCClient) AuthorityNodeRPC() pb.AuthorityNodeServiceClient {
return pb.NewAuthorityNodeServiceClient(this.pickConn())
}
func (this *RPCClient) LatestItemRPC() pb.LatestItemServiceClient {
return pb.NewLatestItemServiceClient(this.pickConn())
}
// Context 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()