[域名服务]实现基本的线路配置

This commit is contained in:
GoEdgeLab
2021-05-30 16:31:12 +08:00
parent 44eddb40d9
commit df5cac87b4
30 changed files with 778 additions and 10 deletions

View File

@@ -368,6 +368,10 @@ func (this *RPCClient) NSRecordRPC() pb.NSRecordServiceClient {
return pb.NewNSRecordServiceClient(this.pickConn())
}
func (this *RPCClient) NSRouteRPC() pb.NSRouteServiceClient {
return pb.NewNSRouteServiceClient(this.pickConn())
}
// Context 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()