增加认证节点管理

This commit is contained in:
GoEdgeLab
2021-04-13 21:23:13 +08:00
parent d1d50c7860
commit 53968dd313
24 changed files with 640 additions and 1 deletions

View File

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