Documentation ¶
Index ¶
- Variables
- func RegisterFailServiceServer(s *grpc.Server, srv FailServiceServer)
- func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
- func RegisterTestUtilServiceServer(s *grpc.Server, srv TestUtilServiceServer)
- type CheckStreamClosedRequest
- func (*CheckStreamClosedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckStreamClosedRequest) GetStreamIdentifier() string
- func (*CheckStreamClosedRequest) ProtoMessage()
- func (x *CheckStreamClosedRequest) ProtoReflect() protoreflect.Message
- func (x *CheckStreamClosedRequest) Reset()
- func (x *CheckStreamClosedRequest) String() string
- type CheckStreamClosedResponse
- func (*CheckStreamClosedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckStreamClosedResponse) GetClosed() bool
- func (*CheckStreamClosedResponse) ProtoMessage()
- func (x *CheckStreamClosedResponse) ProtoReflect() protoreflect.Message
- func (x *CheckStreamClosedResponse) Reset()
- func (x *CheckStreamClosedResponse) String() string
- type ContinueStreamRequest
- func (*ContinueStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContinueStreamRequest) GetStreamIdentifier() string
- func (*ContinueStreamRequest) ProtoMessage()
- func (x *ContinueStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ContinueStreamRequest) Reset()
- func (x *ContinueStreamRequest) String() string
- type FailServiceClient
- type FailServiceServer
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PingRequest) GetCheckMetadata() bool
- func (x *PingRequest) GetErrorCodeReturned() uint32
- func (x *PingRequest) GetFailureType() PingRequest_FailureType
- func (x *PingRequest) GetResponseCount() int32
- func (x *PingRequest) GetSendHeaders() bool
- func (x *PingRequest) GetSendTrailers() bool
- func (x *PingRequest) GetStreamIdentifier() string
- func (x *PingRequest) GetValue() string
- func (*PingRequest) ProtoMessage()
- func (x *PingRequest) ProtoReflect() protoreflect.Message
- func (x *PingRequest) Reset()
- func (x *PingRequest) String() string
- type PingRequest_FailureType
- func (PingRequest_FailureType) Descriptor() protoreflect.EnumDescriptor
- func (x PingRequest_FailureType) Enum() *PingRequest_FailureType
- func (PingRequest_FailureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PingRequest_FailureType) Number() protoreflect.EnumNumber
- func (x PingRequest_FailureType) String() string
- func (PingRequest_FailureType) Type() protoreflect.EnumType
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PingResponse) GetCounter() int32
- func (x *PingResponse) GetValue() string
- func (*PingResponse) ProtoMessage()
- func (x *PingResponse) ProtoReflect() protoreflect.Message
- func (x *PingResponse) Reset()
- func (x *PingResponse) String() string
- type TestServiceClient
- type TestServiceServer
- type TestService_PingListClient
- type TestService_PingListServer
- type TestService_PingPongBidiClient
- type TestService_PingPongBidiServer
- type TestService_PingStreamClient
- type TestService_PingStreamServer
- type TestUtilServiceClient
- type TestUtilServiceServer
- type TextMessage
- func (*TextMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TextMessage) GetSendHeaders() bool
- func (x *TextMessage) GetSendTrailers() bool
- func (x *TextMessage) GetText() string
- func (*TextMessage) ProtoMessage()
- func (x *TextMessage) ProtoReflect() protoreflect.Message
- func (x *TextMessage) Reset()
- func (x *TextMessage) String() string
- type UnimplementedFailServiceServer
- type UnimplementedTestServiceServer
- func (*UnimplementedTestServiceServer) Echo(context.Context, *TextMessage) (*TextMessage, error)
- func (*UnimplementedTestServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (*UnimplementedTestServiceServer) PingEmpty(context.Context, *emptypb.Empty) (*PingResponse, error)
- func (*UnimplementedTestServiceServer) PingError(context.Context, *PingRequest) (*emptypb.Empty, error)
- func (*UnimplementedTestServiceServer) PingList(*PingRequest, TestService_PingListServer) error
- func (*UnimplementedTestServiceServer) PingPongBidi(TestService_PingPongBidiServer) error
- func (*UnimplementedTestServiceServer) PingStream(TestService_PingStreamServer) error
- type UnimplementedTestUtilServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( PingRequest_FailureType_name = map[int32]string{ 0: "NONE", 1: "CODE", 3: "CODE_UNICODE", } PingRequest_FailureType_value = map[string]int32{ "NONE": 0, "CODE": 1, "CODE_UNICODE": 3, } )
Enum value maps for PingRequest_FailureType.
var File_improbable_grpcweb_test_test_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFailServiceServer ¶
func RegisterFailServiceServer(s *grpc.Server, srv FailServiceServer)
func RegisterTestServiceServer ¶
func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
func RegisterTestUtilServiceServer ¶
func RegisterTestUtilServiceServer(s *grpc.Server, srv TestUtilServiceServer)
Types ¶
type CheckStreamClosedRequest ¶
type CheckStreamClosedRequest struct { StreamIdentifier string `protobuf:"bytes,1,opt,name=stream_identifier,json=streamIdentifier,proto3" json:"stream_identifier,omitempty"` // contains filtered or unexported fields }
func (*CheckStreamClosedRequest) Descriptor
deprecated
func (*CheckStreamClosedRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckStreamClosedRequest.ProtoReflect.Descriptor instead.
func (*CheckStreamClosedRequest) GetStreamIdentifier ¶
func (x *CheckStreamClosedRequest) GetStreamIdentifier() string
func (*CheckStreamClosedRequest) ProtoMessage ¶
func (*CheckStreamClosedRequest) ProtoMessage()
func (*CheckStreamClosedRequest) ProtoReflect ¶
func (x *CheckStreamClosedRequest) ProtoReflect() protoreflect.Message
func (*CheckStreamClosedRequest) Reset ¶
func (x *CheckStreamClosedRequest) Reset()
func (*CheckStreamClosedRequest) String ¶
func (x *CheckStreamClosedRequest) String() string
type CheckStreamClosedResponse ¶
type CheckStreamClosedResponse struct { Closed bool `protobuf:"varint,1,opt,name=closed,proto3" json:"closed,omitempty"` // contains filtered or unexported fields }
func (*CheckStreamClosedResponse) Descriptor
deprecated
func (*CheckStreamClosedResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckStreamClosedResponse.ProtoReflect.Descriptor instead.
func (*CheckStreamClosedResponse) GetClosed ¶
func (x *CheckStreamClosedResponse) GetClosed() bool
func (*CheckStreamClosedResponse) ProtoMessage ¶
func (*CheckStreamClosedResponse) ProtoMessage()
func (*CheckStreamClosedResponse) ProtoReflect ¶
func (x *CheckStreamClosedResponse) ProtoReflect() protoreflect.Message
func (*CheckStreamClosedResponse) Reset ¶
func (x *CheckStreamClosedResponse) Reset()
func (*CheckStreamClosedResponse) String ¶
func (x *CheckStreamClosedResponse) String() string
type ContinueStreamRequest ¶
type ContinueStreamRequest struct { StreamIdentifier string `protobuf:"bytes,1,opt,name=stream_identifier,json=streamIdentifier,proto3" json:"stream_identifier,omitempty"` // contains filtered or unexported fields }
func (*ContinueStreamRequest) Descriptor
deprecated
func (*ContinueStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContinueStreamRequest.ProtoReflect.Descriptor instead.
func (*ContinueStreamRequest) GetStreamIdentifier ¶
func (x *ContinueStreamRequest) GetStreamIdentifier() string
func (*ContinueStreamRequest) ProtoMessage ¶
func (*ContinueStreamRequest) ProtoMessage()
func (*ContinueStreamRequest) ProtoReflect ¶
func (x *ContinueStreamRequest) ProtoReflect() protoreflect.Message
func (*ContinueStreamRequest) Reset ¶
func (x *ContinueStreamRequest) Reset()
func (*ContinueStreamRequest) String ¶
func (x *ContinueStreamRequest) String() string
type FailServiceClient ¶
type FailServiceClient interface {
NonExistant(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}
FailServiceClient is the client API for FailService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFailServiceClient ¶
func NewFailServiceClient(cc grpc.ClientConnInterface) FailServiceClient
type FailServiceServer ¶
type FailServiceServer interface {
NonExistant(context.Context, *PingRequest) (*PingResponse, error)
}
FailServiceServer is the server API for FailService service.
type PingRequest ¶
type PingRequest struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` ResponseCount int32 `protobuf:"varint,2,opt,name=response_count,json=responseCount,proto3" json:"response_count,omitempty"` ErrorCodeReturned uint32 `protobuf:"varint,3,opt,name=error_code_returned,json=errorCodeReturned,proto3" json:"error_code_returned,omitempty"` FailureType PingRequest_FailureType `` /* 148-byte string literal not displayed */ CheckMetadata bool `protobuf:"varint,5,opt,name=check_metadata,json=checkMetadata,proto3" json:"check_metadata,omitempty"` SendHeaders bool `protobuf:"varint,6,opt,name=send_headers,json=sendHeaders,proto3" json:"send_headers,omitempty"` SendTrailers bool `protobuf:"varint,7,opt,name=send_trailers,json=sendTrailers,proto3" json:"send_trailers,omitempty"` StreamIdentifier string `protobuf:"bytes,8,opt,name=stream_identifier,json=streamIdentifier,proto3" json:"stream_identifier,omitempty"` // contains filtered or unexported fields }
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) GetCheckMetadata ¶
func (x *PingRequest) GetCheckMetadata() bool
func (*PingRequest) GetErrorCodeReturned ¶
func (x *PingRequest) GetErrorCodeReturned() uint32
func (*PingRequest) GetFailureType ¶
func (x *PingRequest) GetFailureType() PingRequest_FailureType
func (*PingRequest) GetResponseCount ¶
func (x *PingRequest) GetResponseCount() int32
func (*PingRequest) GetSendHeaders ¶
func (x *PingRequest) GetSendHeaders() bool
func (*PingRequest) GetSendTrailers ¶
func (x *PingRequest) GetSendTrailers() bool
func (*PingRequest) GetStreamIdentifier ¶
func (x *PingRequest) GetStreamIdentifier() string
func (*PingRequest) GetValue ¶
func (x *PingRequest) GetValue() string
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingRequest_FailureType ¶
type PingRequest_FailureType int32
const ( PingRequest_NONE PingRequest_FailureType = 0 PingRequest_CODE PingRequest_FailureType = 1 PingRequest_CODE_UNICODE PingRequest_FailureType = 3 )
func (PingRequest_FailureType) Descriptor ¶
func (PingRequest_FailureType) Descriptor() protoreflect.EnumDescriptor
func (PingRequest_FailureType) Enum ¶
func (x PingRequest_FailureType) Enum() *PingRequest_FailureType
func (PingRequest_FailureType) EnumDescriptor
deprecated
func (PingRequest_FailureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PingRequest_FailureType.Descriptor instead.
func (PingRequest_FailureType) Number ¶
func (x PingRequest_FailureType) Number() protoreflect.EnumNumber
func (PingRequest_FailureType) String ¶
func (x PingRequest_FailureType) String() string
func (PingRequest_FailureType) Type ¶
func (PingRequest_FailureType) Type() protoreflect.EnumType
type PingResponse ¶
type PingResponse struct { Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"` Counter int32 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"` // contains filtered or unexported fields }
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) GetCounter ¶
func (x *PingResponse) GetCounter() int32
func (*PingResponse) GetValue ¶
func (x *PingResponse) GetValue() string
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type TestServiceClient ¶
type TestServiceClient interface { PingEmpty(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) PingError(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) PingList(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (TestService_PingListClient, error) PingPongBidi(ctx context.Context, opts ...grpc.CallOption) (TestService_PingPongBidiClient, error) PingStream(ctx context.Context, opts ...grpc.CallOption) (TestService_PingStreamClient, error) Echo(ctx context.Context, in *TextMessage, opts ...grpc.CallOption) (*TextMessage, 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 ¶
type TestServiceServer interface { PingEmpty(context.Context, *emptypb.Empty) (*PingResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) PingError(context.Context, *PingRequest) (*emptypb.Empty, error) PingList(*PingRequest, TestService_PingListServer) error PingPongBidi(TestService_PingPongBidiServer) error PingStream(TestService_PingStreamServer) error Echo(context.Context, *TextMessage) (*TextMessage, error) }
TestServiceServer is the server API for TestService service.
type TestService_PingListClient ¶
type TestService_PingListClient interface { Recv() (*PingResponse, error) grpc.ClientStream }
type TestService_PingListServer ¶
type TestService_PingListServer interface { Send(*PingResponse) error grpc.ServerStream }
type TestService_PingPongBidiClient ¶
type TestService_PingPongBidiClient interface { Send(*PingRequest) error Recv() (*PingResponse, error) grpc.ClientStream }
type TestService_PingPongBidiServer ¶
type TestService_PingPongBidiServer interface { Send(*PingResponse) error Recv() (*PingRequest, error) grpc.ServerStream }
type TestService_PingStreamClient ¶
type TestService_PingStreamClient interface { Send(*PingRequest) error CloseAndRecv() (*PingResponse, error) grpc.ClientStream }
type TestService_PingStreamServer ¶
type TestService_PingStreamServer interface { SendAndClose(*PingResponse) error Recv() (*PingRequest, error) grpc.ServerStream }
type TestUtilServiceClient ¶
type TestUtilServiceClient interface { ContinueStream(ctx context.Context, in *ContinueStreamRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CheckStreamClosed(ctx context.Context, in *CheckStreamClosedRequest, opts ...grpc.CallOption) (*CheckStreamClosedResponse, error) }
TestUtilServiceClient is the client API for TestUtilService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTestUtilServiceClient ¶
func NewTestUtilServiceClient(cc grpc.ClientConnInterface) TestUtilServiceClient
type TestUtilServiceServer ¶
type TestUtilServiceServer interface { ContinueStream(context.Context, *ContinueStreamRequest) (*emptypb.Empty, error) CheckStreamClosed(context.Context, *CheckStreamClosedRequest) (*CheckStreamClosedResponse, error) }
TestUtilServiceServer is the server API for TestUtilService service.
type TextMessage ¶
type TextMessage struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` SendHeaders bool `protobuf:"varint,2,opt,name=send_headers,json=sendHeaders,proto3" json:"send_headers,omitempty"` SendTrailers bool `protobuf:"varint,3,opt,name=send_trailers,json=sendTrailers,proto3" json:"send_trailers,omitempty"` // contains filtered or unexported fields }
func (*TextMessage) Descriptor
deprecated
func (*TextMessage) Descriptor() ([]byte, []int)
Deprecated: Use TextMessage.ProtoReflect.Descriptor instead.
func (*TextMessage) GetSendHeaders ¶
func (x *TextMessage) GetSendHeaders() bool
func (*TextMessage) GetSendTrailers ¶
func (x *TextMessage) GetSendTrailers() bool
func (*TextMessage) GetText ¶
func (x *TextMessage) GetText() string
func (*TextMessage) ProtoMessage ¶
func (*TextMessage) ProtoMessage()
func (*TextMessage) ProtoReflect ¶
func (x *TextMessage) ProtoReflect() protoreflect.Message
func (*TextMessage) Reset ¶
func (x *TextMessage) Reset()
func (*TextMessage) String ¶
func (x *TextMessage) String() string
type UnimplementedFailServiceServer ¶
type UnimplementedFailServiceServer struct { }
UnimplementedFailServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedFailServiceServer) NonExistant ¶
func (*UnimplementedFailServiceServer) NonExistant(context.Context, *PingRequest) (*PingResponse, error)
type UnimplementedTestServiceServer ¶
type UnimplementedTestServiceServer struct { }
UnimplementedTestServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTestServiceServer) Echo ¶
func (*UnimplementedTestServiceServer) Echo(context.Context, *TextMessage) (*TextMessage, error)
func (*UnimplementedTestServiceServer) Ping ¶
func (*UnimplementedTestServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (*UnimplementedTestServiceServer) PingEmpty ¶
func (*UnimplementedTestServiceServer) PingEmpty(context.Context, *emptypb.Empty) (*PingResponse, error)
func (*UnimplementedTestServiceServer) PingError ¶
func (*UnimplementedTestServiceServer) PingError(context.Context, *PingRequest) (*emptypb.Empty, error)
func (*UnimplementedTestServiceServer) PingList ¶
func (*UnimplementedTestServiceServer) PingList(*PingRequest, TestService_PingListServer) error
func (*UnimplementedTestServiceServer) PingPongBidi ¶
func (*UnimplementedTestServiceServer) PingPongBidi(TestService_PingPongBidiServer) error
func (*UnimplementedTestServiceServer) PingStream ¶
func (*UnimplementedTestServiceServer) PingStream(TestService_PingStreamServer) error
type UnimplementedTestUtilServiceServer ¶
type UnimplementedTestUtilServiceServer struct { }
UnimplementedTestUtilServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTestUtilServiceServer) CheckStreamClosed ¶
func (*UnimplementedTestUtilServiceServer) CheckStreamClosed(context.Context, *CheckStreamClosedRequest) (*CheckStreamClosedResponse, error)
func (*UnimplementedTestUtilServiceServer) ContinueStream ¶
func (*UnimplementedTestUtilServiceServer) ContinueStream(context.Context, *ContinueStreamRequest) (*emptypb.Empty, error)