pinger

package
v0.0.0-...-cd333d5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pinger_pinger_proto protoreflect.FileDescriptor
View Source
var File_pinger_pinger_service_proto protoreflect.FileDescriptor
View Source
var PingerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pinger.PingerService",
	HandlerType: (*PingerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _PingerService_Ping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pinger/pinger_service.proto",
}

PingerService_ServiceDesc is the grpc.ServiceDesc for PingerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPingerServiceServer

func RegisterPingerServiceServer(s grpc.ServiceRegistrar, srv PingerServiceServer)

Types

type PingRequest

type PingRequest struct {
	// contains filtered or unexported fields
}

func (*PingRequest) Descriptor deprecated

func (*PingRequest) Descriptor() ([]byte, []int)

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

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 PingResponse

type PingResponse struct {
	// contains filtered or unexported fields
}

func (*PingResponse) Descriptor deprecated

func (*PingResponse) Descriptor() ([]byte, []int)

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

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 PingerServiceClient

type PingerServiceClient interface {
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}

PingerServiceClient is the client API for PingerService 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 PingerServiceServer

type PingerServiceServer interface {
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	// contains filtered or unexported methods
}

PingerServiceServer is the server API for PingerService service. All implementations must embed UnimplementedPingerServiceServer for forward compatibility

type UnimplementedPingerServiceServer

type UnimplementedPingerServiceServer struct {
}

UnimplementedPingerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPingerServiceServer) Ping

type UnsafePingerServiceServer

type UnsafePingerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePingerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PingerServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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