test

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

View Source
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 added in v0.15.2

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 added in v0.15.2

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 added in v0.15.2

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.

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 added in v0.15.2

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 added in v0.15.2

func (PingRequest_FailureType) Enum added in v0.15.2

func (PingRequest_FailureType) EnumDescriptor deprecated

func (PingRequest_FailureType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PingRequest_FailureType.Descriptor instead.

func (PingRequest_FailureType) Number added in v0.15.2

func (PingRequest_FailureType) String

func (x PingRequest_FailureType) String() string

func (PingRequest_FailureType) Type added in v0.15.2

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 added in v0.15.2

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.

type TestServiceServer

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.

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 added in v0.15.2

func (x *TextMessage) ProtoReflect() protoreflect.Message

func (*TextMessage) Reset

func (x *TextMessage) Reset()

func (*TextMessage) String

func (x *TextMessage) String() string

type UnimplementedFailServiceServer added in v0.15.2

type UnimplementedFailServiceServer struct {
}

UnimplementedFailServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFailServiceServer) NonExistant added in v0.15.2

type UnimplementedTestServiceServer added in v0.15.2

type UnimplementedTestServiceServer struct {
}

UnimplementedTestServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTestServiceServer) Echo added in v0.15.2

func (*UnimplementedTestServiceServer) Ping added in v0.15.2

func (*UnimplementedTestServiceServer) PingEmpty added in v0.15.2

func (*UnimplementedTestServiceServer) PingError added in v0.15.2

func (*UnimplementedTestServiceServer) PingList added in v0.15.2

func (*UnimplementedTestServiceServer) PingPongBidi added in v0.15.2

func (*UnimplementedTestServiceServer) PingStream added in v0.15.2

type UnimplementedTestUtilServiceServer added in v0.15.2

type UnimplementedTestUtilServiceServer struct {
}

UnimplementedTestUtilServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTestUtilServiceServer) CheckStreamClosed added in v0.15.2

func (*UnimplementedTestUtilServiceServer) ContinueStream added in v0.15.2

Jump to

Keyboard shortcuts

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