proto

package
v0.0.0-...-a3ecc91 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_proto protoreflect.FileDescriptor
View Source
var InternalService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "InternalService",
	HandlerType: (*InternalServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsAlive",
			Handler:    _InternalService_IsAlive_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "internal.proto",
}

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

Functions

func RegisterInternalServiceServer

func RegisterInternalServiceServer(s grpc.ServiceRegistrar, srv InternalServiceServer)

Types

type InternalServiceClient

type InternalServiceClient interface {
	IsAlive(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
}

InternalServiceClient is the client API for InternalService 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 InternalServiceServer

type InternalServiceServer interface {
	IsAlive(context.Context, *emptypb.Empty) (*wrapperspb.BoolValue, error)
	// contains filtered or unexported methods
}

InternalServiceServer is the server API for InternalService service. All implementations must embed UnimplementedInternalServiceServer for forward compatibility

type UnimplementedInternalServiceServer

type UnimplementedInternalServiceServer struct {
}

UnimplementedInternalServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedInternalServiceServer) IsAlive

type UnsafeInternalServiceServer

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

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

Jump to

Keyboard shortcuts

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