Documentation
¶
Overview ¶
Package foo is a generated protocol buffer package.
It is generated from these files:
test/foo/foo.proto
It has these top-level messages:
Request Response
Package foo is a generated protocol buffer package.
It is generated from these files:
test/foo/foo.proto
It has these top-level messages:
Request Response
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFooServer ¶
Types ¶
type FooClient ¶
type FooClient interface { UnaryMethod(ctx context.Context, in *Request) (*Response, error) ServerStreamMethod(ctx context.Context, in *Request) (Foo_ServerStreamMethodClient, error) }
func NewFooClient ¶
func NewFooClient(cc *yarpc.ClientConn) FooClient
type Foo_ServerStreamMethodClient ¶
type Foo_ServerStreamMethodClient interface { Recv() (*Response, error) yarpc.ClientStream }
type Foo_ServerStreamMethodServer ¶
type Foo_ServerStreamMethodServer interface { Send(*Response) error yarpc.ServerStream }
type Request ¶
type Request struct {
In string `protobuf:"bytes,1,opt,name=in,proto3" json:"in,omitempty"`
}
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Response ¶
type Response struct {
Out string `protobuf:"bytes,1,opt,name=out,proto3" json:"out,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.