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) ProtoMessage ¶
func (*FooReply) ProtoMessage()
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)
}
Click to show internal directories.
Click to hide internal directories.