实现最基本的域名服务节点管理

This commit is contained in:
刘祥超
2021-05-26 14:43:29 +08:00
parent 194a919a73
commit 70cd06dc85
58 changed files with 1574 additions and 57 deletions

View File

@@ -356,6 +356,10 @@ func (this *RPCClient) NSClusterRPC() pb.NSClusterServiceClient {
return pb.NewNSClusterServiceClient(this.pickConn())
}
func (this *RPCClient) NSNodeRPC() pb.NSNodeServiceClient {
return pb.NewNSNodeServiceClient(this.pickConn())
}
// Context 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()