Versions in this module Expand all Collapse all v1 v1.7.0 Feb 26, 2026 Changes in this version + const PingPong_Ping_FullMethodName + const Test_Bidirectional_FullMethodName + const Test_Double_FullMethodName + const Test_PrintKV_FullMethodName + const Test_PrintStdio_FullMethodName + const Test_Stream_FullMethodName + var File_test_grpc_test_proto protoreflect.FileDescriptor + var PingPong_ServiceDesc = grpc.ServiceDesc + var Test_ServiceDesc = grpc.ServiceDesc + func RegisterPingPongServer(s grpc.ServiceRegistrar, srv PingPongServer) + func RegisterTestServer(s grpc.ServiceRegistrar, srv TestServer) + type BidirectionalRequest struct + Id uint32 + func (*BidirectionalRequest) Descriptor() ([]byte, []int) + func (*BidirectionalRequest) ProtoMessage() + func (x *BidirectionalRequest) GetId() uint32 + func (x *BidirectionalRequest) ProtoReflect() protoreflect.Message + func (x *BidirectionalRequest) Reset() + func (x *BidirectionalRequest) String() string + type BidirectionalResponse struct + Id uint32 + func (*BidirectionalResponse) Descriptor() ([]byte, []int) + func (*BidirectionalResponse) ProtoMessage() + func (x *BidirectionalResponse) GetId() uint32 + func (x *BidirectionalResponse) ProtoReflect() protoreflect.Message + func (x *BidirectionalResponse) Reset() + func (x *BidirectionalResponse) String() string + type PingPongClient interface + Ping func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PongResponse, error) + func NewPingPongClient(cc grpc.ClientConnInterface) PingPongClient + type PingPongServer interface + Ping func(context.Context, *PingRequest) (*PongResponse, error) + type PingRequest struct + func (*PingRequest) Descriptor() ([]byte, []int) + func (*PingRequest) ProtoMessage() + func (x *PingRequest) ProtoReflect() protoreflect.Message + func (x *PingRequest) Reset() + func (x *PingRequest) String() string + type PongResponse struct + Msg string + func (*PongResponse) Descriptor() ([]byte, []int) + func (*PongResponse) ProtoMessage() + func (x *PongResponse) GetMsg() string + func (x *PongResponse) ProtoReflect() protoreflect.Message + func (x *PongResponse) Reset() + func (x *PongResponse) String() string + type PrintKVRequest struct + Key string + Value isPrintKVRequest_Value + func (*PrintKVRequest) Descriptor() ([]byte, []int) + func (*PrintKVRequest) ProtoMessage() + func (m *PrintKVRequest) GetValue() isPrintKVRequest_Value + func (x *PrintKVRequest) GetKey() string + func (x *PrintKVRequest) GetValueInt() int32 + func (x *PrintKVRequest) GetValueString() string + func (x *PrintKVRequest) ProtoReflect() protoreflect.Message + func (x *PrintKVRequest) Reset() + func (x *PrintKVRequest) String() string + type PrintKVRequest_ValueInt struct + ValueInt int32 + type PrintKVRequest_ValueString struct + ValueString string + type PrintKVResponse struct + func (*PrintKVResponse) Descriptor() ([]byte, []int) + func (*PrintKVResponse) ProtoMessage() + func (x *PrintKVResponse) ProtoReflect() protoreflect.Message + func (x *PrintKVResponse) Reset() + func (x *PrintKVResponse) String() string + type PrintStdioRequest struct + Stderr []byte + Stdout []byte + func (*PrintStdioRequest) Descriptor() ([]byte, []int) + func (*PrintStdioRequest) ProtoMessage() + func (x *PrintStdioRequest) GetStderr() []byte + func (x *PrintStdioRequest) GetStdout() []byte + func (x *PrintStdioRequest) ProtoReflect() protoreflect.Message + func (x *PrintStdioRequest) Reset() + func (x *PrintStdioRequest) String() string + type TestClient interface + Bidirectional func(ctx context.Context, in *BidirectionalRequest, opts ...grpc.CallOption) (*BidirectionalResponse, error) + Double func(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error) + PrintKV func(ctx context.Context, in *PrintKVRequest, opts ...grpc.CallOption) (*PrintKVResponse, error) + PrintStdio func(ctx context.Context, in *PrintStdioRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + Stream func(ctx context.Context, opts ...grpc.CallOption) (Test_StreamClient, error) + func NewTestClient(cc grpc.ClientConnInterface) TestClient + type TestRequest struct + Input int32 + func (*TestRequest) Descriptor() ([]byte, []int) + func (*TestRequest) ProtoMessage() + func (x *TestRequest) GetInput() int32 + func (x *TestRequest) ProtoReflect() protoreflect.Message + func (x *TestRequest) Reset() + func (x *TestRequest) String() string + type TestResponse struct + Output int32 + func (*TestResponse) Descriptor() ([]byte, []int) + func (*TestResponse) ProtoMessage() + func (x *TestResponse) GetOutput() int32 + func (x *TestResponse) ProtoReflect() protoreflect.Message + func (x *TestResponse) Reset() + func (x *TestResponse) String() string + type TestServer interface + Bidirectional func(context.Context, *BidirectionalRequest) (*BidirectionalResponse, error) + Double func(context.Context, *TestRequest) (*TestResponse, error) + PrintKV func(context.Context, *PrintKVRequest) (*PrintKVResponse, error) + PrintStdio func(context.Context, *PrintStdioRequest) (*emptypb.Empty, error) + Stream func(Test_StreamServer) error + type Test_StreamClient interface + Recv func() (*TestResponse, error) + Send func(*TestRequest) error + type Test_StreamServer interface + Recv func() (*TestRequest, error) + Send func(*TestResponse) error + type UnimplementedPingPongServer struct + func (UnimplementedPingPongServer) Ping(context.Context, *PingRequest) (*PongResponse, error) + type UnimplementedTestServer struct + func (UnimplementedTestServer) Bidirectional(context.Context, *BidirectionalRequest) (*BidirectionalResponse, error) + func (UnimplementedTestServer) Double(context.Context, *TestRequest) (*TestResponse, error) + func (UnimplementedTestServer) PrintKV(context.Context, *PrintKVRequest) (*PrintKVResponse, error) + func (UnimplementedTestServer) PrintStdio(context.Context, *PrintStdioRequest) (*emptypb.Empty, error) + func (UnimplementedTestServer) Stream(Test_StreamServer) error + type UnsafePingPongServer interface + type UnsafeTestServer interface