pb

package
v0.0.0-...-e2cbee1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2017 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:

test_grpc.proto

It has these top-level messages:

FooRequest
FooReply

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTestGrpcServer

func RegisterTestGrpcServer(s *grpc.Server, srv TestGrpcServer)

Types

type FooReply

type FooReply struct {
}

func (*FooReply) Descriptor

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

func (*FooReply) ProtoMessage

func (*FooReply) ProtoMessage()

func (*FooReply) Reset

func (m *FooReply) Reset()

func (*FooReply) String

func (m *FooReply) String() string

type FooRequest

type FooRequest struct {
}

func (*FooRequest) Descriptor

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

func (*FooRequest) ProtoMessage

func (*FooRequest) ProtoMessage()

func (*FooRequest) Reset

func (m *FooRequest) Reset()

func (*FooRequest) String

func (m *FooRequest) String() string

type TestGrpcClient

type TestGrpcClient interface {
	Foo(ctx context.Context, in *FooRequest, opts ...grpc.CallOption) (*FooReply, error)
}

func NewTestGrpcClient

func NewTestGrpcClient(cc *grpc.ClientConn) TestGrpcClient

type TestGrpcServer

type TestGrpcServer interface {
	Foo(context.Context, *FooRequest) (*FooReply, error)
}

Jump to

Keyboard shortcuts

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