Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTestServiceServer ¶
func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶ added in v0.10.8
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶ added in v0.10.8
func (x *Response) ProtoReflect() protoreflect.Message
type TestServiceClient ¶
type TestServiceClient interface {
Invoke(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}
TestServiceClient is the client API for TestService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTestServiceClient ¶
func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient
type TestServiceServer ¶
TestServiceServer is the server API for TestService service.
type UnimplementedTestServiceServer ¶
type UnimplementedTestServiceServer struct { }
UnimplementedTestServiceServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.