增加DNS服务商账号管理

This commit is contained in:
GoEdgeLab
2020-11-11 21:32:19 +08:00
parent 5f0ed4a2f2
commit bba0b3c316
15 changed files with 464 additions and 3 deletions

View File

@@ -204,6 +204,10 @@ func (this *RPCClient) LogRPC() pb.LogServiceClient {
return pb.NewLogServiceClient(this.pickConn())
}
func (this *RPCClient) DNSProviderRPC() pb.DNSProviderServiceClient {
return pb.NewDNSProviderServiceClient(this.pickConn())
}
// 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()