 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
dns.proto
It has these top-level messages:
DnsPacket
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDnsServiceServer ¶
func RegisterDnsServiceServer(s *grpc.Server, srv DnsServiceServer)
Types ¶
type DnsPacket ¶
type DnsPacket struct {
	Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}
    func (*DnsPacket) Descriptor ¶
func (*DnsPacket) ProtoMessage ¶
func (*DnsPacket) ProtoMessage()
type DnsServiceClient ¶
type DnsServiceClient interface {
	Query(ctx context.Context, in *DnsPacket, opts ...grpc.CallOption) (*DnsPacket, error)
}
    func NewDnsServiceClient ¶
func NewDnsServiceClient(cc *grpc.ClientConn) DnsServiceClient
 Click to show internal directories. 
   Click to hide internal directories.