dns

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DNS_GetAccountDomains_FullMethodName = "/DNS/GetAccountDomains"
)

Variables

View Source
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)

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL