resolve

package
v0.0.0-...-fe3c5db Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package resolve is a generated protocol buffer package.

It is generated from these files:

resolve.proto

It has these top-level messages:

Source
Address

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterResolveServer

func RegisterResolveServer(s *grpc.Server, srv ResolveServer)

Types

type Address

type Address struct {
	Name []string `protobuf:"bytes,1,rep,name=name" json:"name,omitempty"`
}

func (*Address) Descriptor

func (*Address) Descriptor() ([]byte, []int)

func (*Address) GetName

func (m *Address) GetName() []string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (m *Address) String() string

type ResolveClient

type ResolveClient interface {
	ResolveStream(ctx context.Context, in *Source, opts ...grpc.CallOption) (Resolve_ResolveStreamClient, error)
}

func NewResolveClient

func NewResolveClient(cc *grpc.ClientConn) ResolveClient

type ResolveServer

type ResolveServer interface {
	ResolveStream(*Source, Resolve_ResolveStreamServer) error
}

type Resolve_ResolveStreamClient

type Resolve_ResolveStreamClient interface {
	Recv() (*Address, error)
	grpc.ClientStream
}

type Resolve_ResolveStreamServer

type Resolve_ResolveStreamServer interface {
	Send(*Address) error
	grpc.ServerStream
}

type Source

type Source struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*Source) Descriptor

func (*Source) Descriptor() ([]byte, []int)

func (*Source) GetName

func (m *Source) GetName() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) Reset

func (m *Source) Reset()

func (*Source) String

func (m *Source) String() string

Jump to

Keyboard shortcuts

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