grpc

package
v0.0.0-...-5dc18d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_testproto_grpc_grpc_proto protoreflect.FileDescriptor
View Source
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)

View Source
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 (*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 (*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 (*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 (*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.

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.

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

type UnimplementedTestServiceServer

type UnimplementedTestServiceServer struct {
}

UnimplementedTestServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTestServiceServer) TestRPC

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL