Documentation ¶
Overview ¶
Package grpecho is a generated protocol buffer package.
It is generated from these files:
pilot/test/grpcecho/echo.proto
It has these top-level messages:
EchoRequest EchoResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEchoTestServiceServer ¶
func RegisterEchoTestServiceServer(s *grpc.Server, srv EchoTestServiceServer)
Types ¶
type EchoRequest ¶
type EchoRequest struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (*EchoRequest) Descriptor ¶
func (*EchoRequest) Descriptor() ([]byte, []int)
func (*EchoRequest) GetMessage ¶
func (m *EchoRequest) GetMessage() string
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) Reset ¶
func (m *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (m *EchoRequest) String() string
type EchoResponse ¶
type EchoResponse struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (*EchoResponse) Descriptor ¶
func (*EchoResponse) Descriptor() ([]byte, []int)
func (*EchoResponse) GetMessage ¶
func (m *EchoResponse) GetMessage() string
func (*EchoResponse) ProtoMessage ¶
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) Reset ¶
func (m *EchoResponse) Reset()
func (*EchoResponse) String ¶
func (m *EchoResponse) String() string
type EchoTestServiceClient ¶
type EchoTestServiceClient interface {
Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
}
func NewEchoTestServiceClient ¶
func NewEchoTestServiceClient(cc *grpc.ClientConn) EchoTestServiceClient
type EchoTestServiceServer ¶
type EchoTestServiceServer interface {
Echo(context.Context, *EchoRequest) (*EchoResponse, error)
}
Click to show internal directories.
Click to hide internal directories.