Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDNSServer(s grpc.ServiceRegistrar, srv DNSServer)
- type DNSClient
- type DNSServer
- type GetAccountDomainsIn
- func (*GetAccountDomainsIn) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountDomainsIn) GetAccountId() string
- func (*GetAccountDomainsIn) ProtoMessage()
- func (x *GetAccountDomainsIn) ProtoReflect() protoreflect.Message
- func (x *GetAccountDomainsIn) Reset()
- func (x *GetAccountDomainsIn) String() string
- type GetAccountDomainsOut
- func (*GetAccountDomainsOut) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountDomainsOut) GetDomains() []string
- func (*GetAccountDomainsOut) ProtoMessage()
- func (x *GetAccountDomainsOut) ProtoReflect() protoreflect.Message
- func (x *GetAccountDomainsOut) Reset()
- func (x *GetAccountDomainsOut) String() string
- type UnimplementedDNSServer
- type UnsafeDNSServer
Constants ¶
const (
DNS_GetAccountDomains_FullMethodName = "/DNS/GetAccountDomains"
)
Variables ¶
var DNS_ServiceDesc = grpc.ServiceDesc{ ServiceName: "DNS", HandlerType: (*DNSServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAccountDomains", Handler: _DNS_GetAccountDomains_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "dns.proto", }
DNS_ServiceDesc is the grpc.ServiceDesc for DNS service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_dns_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDNSServer ¶
func RegisterDNSServer(s grpc.ServiceRegistrar, srv DNSServer)
Types ¶
type DNSClient ¶
type DNSClient interface {
GetAccountDomains(ctx context.Context, in *GetAccountDomainsIn, opts ...grpc.CallOption) (*GetAccountDomainsOut, error)
}
DNSClient is the client API for DNS service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDNSClient ¶
func NewDNSClient(cc grpc.ClientConnInterface) DNSClient
type DNSServer ¶
type DNSServer interface { GetAccountDomains(context.Context, *GetAccountDomainsIn) (*GetAccountDomainsOut, error) // contains filtered or unexported methods }
DNSServer is the server API for DNS service. All implementations must embed UnimplementedDNSServer for forward compatibility
type GetAccountDomainsIn ¶
type GetAccountDomainsIn struct { AccountId string `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"` // contains filtered or unexported fields }
func (*GetAccountDomainsIn) Descriptor
deprecated
func (*GetAccountDomainsIn) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountDomainsIn.ProtoReflect.Descriptor instead.
func (*GetAccountDomainsIn) GetAccountId ¶
func (x *GetAccountDomainsIn) GetAccountId() string
func (*GetAccountDomainsIn) ProtoMessage ¶
func (*GetAccountDomainsIn) ProtoMessage()
func (*GetAccountDomainsIn) ProtoReflect ¶
func (x *GetAccountDomainsIn) ProtoReflect() protoreflect.Message
func (*GetAccountDomainsIn) Reset ¶
func (x *GetAccountDomainsIn) Reset()
func (*GetAccountDomainsIn) String ¶
func (x *GetAccountDomainsIn) String() string
type GetAccountDomainsOut ¶
type GetAccountDomainsOut struct { Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"` // contains filtered or unexported fields }
func (*GetAccountDomainsOut) Descriptor
deprecated
func (*GetAccountDomainsOut) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountDomainsOut.ProtoReflect.Descriptor instead.
func (*GetAccountDomainsOut) GetDomains ¶
func (x *GetAccountDomainsOut) GetDomains() []string
func (*GetAccountDomainsOut) ProtoMessage ¶
func (*GetAccountDomainsOut) ProtoMessage()
func (*GetAccountDomainsOut) ProtoReflect ¶
func (x *GetAccountDomainsOut) ProtoReflect() protoreflect.Message
func (*GetAccountDomainsOut) Reset ¶
func (x *GetAccountDomainsOut) Reset()
func (*GetAccountDomainsOut) String ¶
func (x *GetAccountDomainsOut) String() string
type UnimplementedDNSServer ¶
type UnimplementedDNSServer struct { }
UnimplementedDNSServer must be embedded to have forward compatible implementations.
func (UnimplementedDNSServer) GetAccountDomains ¶
func (UnimplementedDNSServer) GetAccountDomains(context.Context, *GetAccountDomainsIn) (*GetAccountDomainsOut, error)
type UnsafeDNSServer ¶
type UnsafeDNSServer interface {
// contains filtered or unexported methods
}
UnsafeDNSServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DNSServer will result in compilation errors.