gen

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TunnelTestService_TriggerTestRPCs_FullMethodName = "/TunnelTestService/TriggerTestRPCs"
)

Variables

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

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

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.

Jump to

Keyboard shortcuts

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