Documentation ¶
Index ¶
- Variables
- func RegisterTestServiceLocalServer(s grpc.ServiceRegistrar, srv TestServiceLocalServer)
- func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer)
- type LocalTestMessageRequest
- func (m *LocalTestMessageRequest) CloneMessageVT() proto.Message
- func (m *LocalTestMessageRequest) CloneVT() *LocalTestMessageRequest
- func (*LocalTestMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (this *LocalTestMessageRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *LocalTestMessageRequest) EqualVT(that *LocalTestMessageRequest) bool
- func (m *LocalTestMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LocalTestMessageRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *LocalTestMessageRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *LocalTestMessageRequest) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *LocalTestMessageRequest) MarshalVT() (dAtA []byte, err error)
- func (m *LocalTestMessageRequest) MarshalVTStrict() (dAtA []byte, err error)
- func (*LocalTestMessageRequest) ProtoMessage()
- func (x *LocalTestMessageRequest) ProtoReflect() protoreflect.Message
- func (x *LocalTestMessageRequest) Reset()
- func (m *LocalTestMessageRequest) ResetVT()
- func (m *LocalTestMessageRequest) ReturnToVTPool()
- func (m *LocalTestMessageRequest) SizeVT() (n int)
- func (x *LocalTestMessageRequest) String() string
- func (m *LocalTestMessageRequest) UnmarshalVT(dAtA []byte) error
- func (m *LocalTestMessageRequest) UnmarshalVTUnsafe(dAtA []byte) error
- type LocalTestMessageResponse
- func (m *LocalTestMessageResponse) CloneMessageVT() proto.Message
- func (m *LocalTestMessageResponse) CloneVT() *LocalTestMessageResponse
- func (*LocalTestMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (this *LocalTestMessageResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *LocalTestMessageResponse) EqualVT(that *LocalTestMessageResponse) bool
- func (m *LocalTestMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LocalTestMessageResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *LocalTestMessageResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *LocalTestMessageResponse) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *LocalTestMessageResponse) MarshalVT() (dAtA []byte, err error)
- func (m *LocalTestMessageResponse) MarshalVTStrict() (dAtA []byte, err error)
- func (*LocalTestMessageResponse) ProtoMessage()
- func (x *LocalTestMessageResponse) ProtoReflect() protoreflect.Message
- func (x *LocalTestMessageResponse) Reset()
- func (m *LocalTestMessageResponse) ResetVT()
- func (m *LocalTestMessageResponse) ReturnToVTPool()
- func (m *LocalTestMessageResponse) SizeVT() (n int)
- func (x *LocalTestMessageResponse) String() string
- func (m *LocalTestMessageResponse) UnmarshalVT(dAtA []byte) error
- func (m *LocalTestMessageResponse) UnmarshalVTUnsafe(dAtA []byte) error
- type TestServiceClient
- type TestServiceLocalClient
- type TestServiceLocalServer
- type TestServiceServer
- type UnimplementedTestServiceLocalServer
- type UnimplementedTestServiceServer
- type UnsafeTestServiceLocalServer
- type UnsafeTestServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_testproto_grpc_grpc_proto protoreflect.FileDescriptor
var TestServiceLocal_ServiceDesc = grpc.ServiceDesc{ ServiceName: "TestServiceLocal", HandlerType: (*TestServiceLocalServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "TestRPCLocal", Handler: _TestServiceLocal_TestRPCLocal_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "testproto/grpc/grpc.proto", }
TestServiceLocal_ServiceDesc is the grpc.ServiceDesc for TestServiceLocal service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TestService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "TestService", HandlerType: (*TestServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "TestRPC", Handler: _TestService_TestRPC_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "testproto/grpc/grpc.proto", }
TestService_ServiceDesc is the grpc.ServiceDesc for TestService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTestServiceLocalServer ¶
func RegisterTestServiceLocalServer(s grpc.ServiceRegistrar, srv TestServiceLocalServer)
func RegisterTestServiceServer ¶
func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer)
Types ¶
type LocalTestMessageRequest ¶
type LocalTestMessageRequest struct {
// contains filtered or unexported fields
}
func LocalTestMessageRequestFromVTPool ¶
func LocalTestMessageRequestFromVTPool() *LocalTestMessageRequest
func (*LocalTestMessageRequest) CloneMessageVT ¶
func (m *LocalTestMessageRequest) CloneMessageVT() proto.Message
func (*LocalTestMessageRequest) CloneVT ¶
func (m *LocalTestMessageRequest) CloneVT() *LocalTestMessageRequest
func (*LocalTestMessageRequest) Descriptor
deprecated
func (*LocalTestMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use LocalTestMessageRequest.ProtoReflect.Descriptor instead.
func (*LocalTestMessageRequest) EqualMessageVT ¶
func (this *LocalTestMessageRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*LocalTestMessageRequest) EqualVT ¶
func (this *LocalTestMessageRequest) EqualVT(that *LocalTestMessageRequest) bool
func (*LocalTestMessageRequest) MarshalToSizedBufferVT ¶
func (m *LocalTestMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LocalTestMessageRequest) MarshalToSizedBufferVTStrict ¶
func (m *LocalTestMessageRequest) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*LocalTestMessageRequest) MarshalToVT ¶
func (m *LocalTestMessageRequest) MarshalToVT(dAtA []byte) (int, error)
func (*LocalTestMessageRequest) MarshalToVTStrict ¶
func (m *LocalTestMessageRequest) MarshalToVTStrict(dAtA []byte) (int, error)
func (*LocalTestMessageRequest) MarshalVT ¶
func (m *LocalTestMessageRequest) MarshalVT() (dAtA []byte, err error)
func (*LocalTestMessageRequest) MarshalVTStrict ¶
func (m *LocalTestMessageRequest) MarshalVTStrict() (dAtA []byte, err error)
func (*LocalTestMessageRequest) ProtoMessage ¶
func (*LocalTestMessageRequest) ProtoMessage()
func (*LocalTestMessageRequest) ProtoReflect ¶
func (x *LocalTestMessageRequest) ProtoReflect() protoreflect.Message
func (*LocalTestMessageRequest) Reset ¶
func (x *LocalTestMessageRequest) Reset()
func (*LocalTestMessageRequest) ResetVT ¶
func (m *LocalTestMessageRequest) ResetVT()
func (*LocalTestMessageRequest) ReturnToVTPool ¶
func (m *LocalTestMessageRequest) ReturnToVTPool()
func (*LocalTestMessageRequest) SizeVT ¶
func (m *LocalTestMessageRequest) SizeVT() (n int)
func (*LocalTestMessageRequest) String ¶
func (x *LocalTestMessageRequest) String() string
func (*LocalTestMessageRequest) UnmarshalVT ¶
func (m *LocalTestMessageRequest) UnmarshalVT(dAtA []byte) error
func (*LocalTestMessageRequest) UnmarshalVTUnsafe ¶
func (m *LocalTestMessageRequest) UnmarshalVTUnsafe(dAtA []byte) error
type LocalTestMessageResponse ¶
type LocalTestMessageResponse struct {
// contains filtered or unexported fields
}
func LocalTestMessageResponseFromVTPool ¶
func LocalTestMessageResponseFromVTPool() *LocalTestMessageResponse
func (*LocalTestMessageResponse) CloneMessageVT ¶
func (m *LocalTestMessageResponse) CloneMessageVT() proto.Message
func (*LocalTestMessageResponse) CloneVT ¶
func (m *LocalTestMessageResponse) CloneVT() *LocalTestMessageResponse
func (*LocalTestMessageResponse) Descriptor
deprecated
func (*LocalTestMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use LocalTestMessageResponse.ProtoReflect.Descriptor instead.
func (*LocalTestMessageResponse) EqualMessageVT ¶
func (this *LocalTestMessageResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*LocalTestMessageResponse) EqualVT ¶
func (this *LocalTestMessageResponse) EqualVT(that *LocalTestMessageResponse) bool
func (*LocalTestMessageResponse) MarshalToSizedBufferVT ¶
func (m *LocalTestMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LocalTestMessageResponse) MarshalToSizedBufferVTStrict ¶
func (m *LocalTestMessageResponse) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*LocalTestMessageResponse) MarshalToVT ¶
func (m *LocalTestMessageResponse) MarshalToVT(dAtA []byte) (int, error)
func (*LocalTestMessageResponse) MarshalToVTStrict ¶
func (m *LocalTestMessageResponse) MarshalToVTStrict(dAtA []byte) (int, error)
func (*LocalTestMessageResponse) MarshalVT ¶
func (m *LocalTestMessageResponse) MarshalVT() (dAtA []byte, err error)
func (*LocalTestMessageResponse) MarshalVTStrict ¶
func (m *LocalTestMessageResponse) MarshalVTStrict() (dAtA []byte, err error)
func (*LocalTestMessageResponse) ProtoMessage ¶
func (*LocalTestMessageResponse) ProtoMessage()
func (*LocalTestMessageResponse) ProtoReflect ¶
func (x *LocalTestMessageResponse) ProtoReflect() protoreflect.Message
func (*LocalTestMessageResponse) Reset ¶
func (x *LocalTestMessageResponse) Reset()
func (*LocalTestMessageResponse) ResetVT ¶
func (m *LocalTestMessageResponse) ResetVT()
func (*LocalTestMessageResponse) ReturnToVTPool ¶
func (m *LocalTestMessageResponse) ReturnToVTPool()
func (*LocalTestMessageResponse) SizeVT ¶
func (m *LocalTestMessageResponse) SizeVT() (n int)
func (*LocalTestMessageResponse) String ¶
func (x *LocalTestMessageResponse) String() string
func (*LocalTestMessageResponse) UnmarshalVT ¶
func (m *LocalTestMessageResponse) UnmarshalVT(dAtA []byte) error
func (*LocalTestMessageResponse) UnmarshalVTUnsafe ¶
func (m *LocalTestMessageResponse) UnmarshalVTUnsafe(dAtA []byte) error
type TestServiceClient ¶
type TestServiceClient interface {
TestRPC(ctx context.Context, in *inner.TestMessageRequest, opts ...grpc.CallOption) (*inner.TestMessageResponse, error)
}
TestServiceClient is the client API for TestService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTestServiceClient ¶
func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient
type TestServiceLocalClient ¶
type TestServiceLocalClient interface {
TestRPCLocal(ctx context.Context, in *LocalTestMessageRequest, opts ...grpc.CallOption) (*LocalTestMessageResponse, error)
}
TestServiceLocalClient is the client API for TestServiceLocal service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTestServiceLocalClient ¶
func NewTestServiceLocalClient(cc grpc.ClientConnInterface) TestServiceLocalClient
type TestServiceLocalServer ¶
type TestServiceLocalServer interface { TestRPCLocal(context.Context, *LocalTestMessageRequest) (*LocalTestMessageResponse, error) // contains filtered or unexported methods }
TestServiceLocalServer is the server API for TestServiceLocal service. All implementations must embed UnimplementedTestServiceLocalServer for forward compatibility
type TestServiceServer ¶
type TestServiceServer interface { TestRPC(context.Context, *inner.TestMessageRequest) (*inner.TestMessageResponse, error) // contains filtered or unexported methods }
TestServiceServer is the server API for TestService service. All implementations must embed UnimplementedTestServiceServer for forward compatibility
type UnimplementedTestServiceLocalServer ¶
type UnimplementedTestServiceLocalServer struct { }
UnimplementedTestServiceLocalServer must be embedded to have forward compatible implementations.
func (UnimplementedTestServiceLocalServer) TestRPCLocal ¶
func (UnimplementedTestServiceLocalServer) TestRPCLocal(context.Context, *LocalTestMessageRequest) (*LocalTestMessageResponse, error)
type UnimplementedTestServiceServer ¶
type UnimplementedTestServiceServer struct { }
UnimplementedTestServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTestServiceServer) TestRPC ¶
func (UnimplementedTestServiceServer) TestRPC(context.Context, *inner.TestMessageRequest) (*inner.TestMessageResponse, error)
type UnsafeTestServiceLocalServer ¶
type UnsafeTestServiceLocalServer interface {
// contains filtered or unexported methods
}
UnsafeTestServiceLocalServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestServiceLocalServer will result in compilation errors.
type UnsafeTestServiceServer ¶
type UnsafeTestServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTestServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestServiceServer will result in compilation errors.