Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTunnelTestServiceServer(s grpc.ServiceRegistrar, srv TunnelTestServiceServer)
- type TriggerTestRPCsRequest
- func (*TriggerTestRPCsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerTestRPCsRequest) GetClientKey() string
- func (*TriggerTestRPCsRequest) ProtoMessage()
- func (x *TriggerTestRPCsRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerTestRPCsRequest) Reset()
- func (x *TriggerTestRPCsRequest) String() string
- type TriggerTestRPCsResponse
- type TunnelTestServiceClient
- type TunnelTestServiceServer
- type UnimplementedTunnelTestServiceServer
- type UnsafeTunnelTestServiceServer
Constants ¶
const (
TunnelTestService_TriggerTestRPCs_FullMethodName = "/TunnelTestService/TriggerTestRPCs"
)
Variables ¶
var File_grpctunnel_testing_testing_proto protoreflect.FileDescriptor
var TunnelTestService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "TunnelTestService", HandlerType: (*TunnelTestServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "TriggerTestRPCs", Handler: _TunnelTestService_TriggerTestRPCs_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpctunnel/testing/testing.proto", }
TunnelTestService_ServiceDesc is the grpc.ServiceDesc for TunnelTestService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTunnelTestServiceServer ¶
func RegisterTunnelTestServiceServer(s grpc.ServiceRegistrar, srv TunnelTestServiceServer)
Types ¶
type TriggerTestRPCsRequest ¶
type TriggerTestRPCsRequest struct { ClientKey string `protobuf:"bytes,1,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` // contains filtered or unexported fields }
func (*TriggerTestRPCsRequest) Descriptor
deprecated
func (*TriggerTestRPCsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerTestRPCsRequest.ProtoReflect.Descriptor instead.
func (*TriggerTestRPCsRequest) GetClientKey ¶
func (x *TriggerTestRPCsRequest) GetClientKey() string
func (*TriggerTestRPCsRequest) ProtoMessage ¶
func (*TriggerTestRPCsRequest) ProtoMessage()
func (*TriggerTestRPCsRequest) ProtoReflect ¶
func (x *TriggerTestRPCsRequest) ProtoReflect() protoreflect.Message
func (*TriggerTestRPCsRequest) Reset ¶
func (x *TriggerTestRPCsRequest) Reset()
func (*TriggerTestRPCsRequest) String ¶
func (x *TriggerTestRPCsRequest) String() string
type TriggerTestRPCsResponse ¶
type TriggerTestRPCsResponse struct {
// contains filtered or unexported fields
}
func (*TriggerTestRPCsResponse) Descriptor
deprecated
func (*TriggerTestRPCsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerTestRPCsResponse.ProtoReflect.Descriptor instead.
func (*TriggerTestRPCsResponse) ProtoMessage ¶
func (*TriggerTestRPCsResponse) ProtoMessage()
func (*TriggerTestRPCsResponse) ProtoReflect ¶
func (x *TriggerTestRPCsResponse) ProtoReflect() protoreflect.Message
func (*TriggerTestRPCsResponse) Reset ¶
func (x *TriggerTestRPCsResponse) Reset()
func (*TriggerTestRPCsResponse) String ¶
func (x *TriggerTestRPCsResponse) String() string
type TunnelTestServiceClient ¶
type TunnelTestServiceClient interface { // This is invoked on a server after a client establishes a reverse tunnel. // This will use the reverse tunnel to send a bunch of RPCs, from the server // to the client, and then return when finished. TriggerTestRPCs(ctx context.Context, in *TriggerTestRPCsRequest, opts ...grpc.CallOption) (*TriggerTestRPCsResponse, error) }
TunnelTestServiceClient is the client API for TunnelTestService 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 NewTunnelTestServiceClient ¶
func NewTunnelTestServiceClient(cc grpc.ClientConnInterface) TunnelTestServiceClient
type TunnelTestServiceServer ¶
type TunnelTestServiceServer interface { // This is invoked on a server after a client establishes a reverse tunnel. // This will use the reverse tunnel to send a bunch of RPCs, from the server // to the client, and then return when finished. TriggerTestRPCs(context.Context, *TriggerTestRPCsRequest) (*TriggerTestRPCsResponse, error) // contains filtered or unexported methods }
TunnelTestServiceServer is the server API for TunnelTestService service. All implementations must embed UnimplementedTunnelTestServiceServer for forward compatibility
type UnimplementedTunnelTestServiceServer ¶
type UnimplementedTunnelTestServiceServer struct { }
UnimplementedTunnelTestServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTunnelTestServiceServer) TriggerTestRPCs ¶
func (UnimplementedTunnelTestServiceServer) TriggerTestRPCs(context.Context, *TriggerTestRPCsRequest) (*TriggerTestRPCsResponse, error)
type UnsafeTunnelTestServiceServer ¶
type UnsafeTunnelTestServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTunnelTestServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TunnelTestServiceServer will result in compilation errors.