Documentation ¶
Overview ¶
Package glootest is a generated protocol buffer package.
It is generated from these files:
protos/glootest.proto
It has these top-level messages:
TestRequest TestResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTestServiceServer ¶
func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
Types ¶
type TestRequest ¶
type TestRequest struct {
Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"`
}
func (*TestRequest) Descriptor ¶
func (*TestRequest) Descriptor() ([]byte, []int)
func (*TestRequest) GetStr ¶
func (m *TestRequest) GetStr() string
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) Reset ¶
func (m *TestRequest) Reset()
func (*TestRequest) String ¶
func (m *TestRequest) String() string
type TestResponse ¶
type TestResponse struct {
Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"`
}
func (*TestResponse) Descriptor ¶
func (*TestResponse) Descriptor() ([]byte, []int)
func (*TestResponse) GetStr ¶
func (m *TestResponse) GetStr() string
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) Reset ¶
func (m *TestResponse) Reset()
func (*TestResponse) String ¶
func (m *TestResponse) String() string
type TestServiceClient ¶
type TestServiceClient interface {
TestMethod(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error)
}
func NewTestServiceClient ¶
func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient
type TestServiceServer ¶
type TestServiceServer interface {
TestMethod(context.Context, *TestRequest) (*TestResponse, error)
}
Click to show internal directories.
Click to hide internal directories.