pb

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*DnsPacket) GetMsg

func (m *DnsPacket) GetMsg() []byte

func (*DnsPacket) ProtoMessage

func (*DnsPacket) ProtoMessage()

func (*DnsPacket) Reset

func (m *DnsPacket) Reset()

func (*DnsPacket) String

func (m *DnsPacket) String() string

type DnsServiceClient

type DnsServiceClient interface {
	Query(ctx context.Context, in *DnsPacket, opts ...grpc.CallOption) (*DnsPacket, error)
}

func NewDnsServiceClient

func NewDnsServiceClient(cc *grpc.ClientConn) DnsServiceClient

type DnsServiceServer

type DnsServiceServer interface {
	Query(context.Context, *DnsPacket) (*DnsPacket, error)
}

Jump to

Keyboard shortcuts

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