panic

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_panic_proto protoreflect.FileDescriptor
View Source
var PanicService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "panic.PanicService",
	HandlerType: (*PanicServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Panic",
			Handler:    _PanicService_Panic_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "panic.proto",
}

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

Functions

func RegisterPanicServiceServer

func RegisterPanicServiceServer(s grpc.ServiceRegistrar, srv PanicServiceServer)

Types

type PanicRequest

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

func (*PanicRequest) Descriptor deprecated

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

Deprecated: Use PanicRequest.ProtoReflect.Descriptor instead.

func (*PanicRequest) ProtoMessage

func (*PanicRequest) ProtoMessage()

func (*PanicRequest) ProtoReflect

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

func (*PanicRequest) Reset

func (x *PanicRequest) Reset()

func (*PanicRequest) String

func (x *PanicRequest) String() string

type PanicResponse

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

func (*PanicResponse) Descriptor deprecated

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

Deprecated: Use PanicResponse.ProtoReflect.Descriptor instead.

func (*PanicResponse) ProtoMessage

func (*PanicResponse) ProtoMessage()

func (*PanicResponse) ProtoReflect

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

func (*PanicResponse) Reset

func (x *PanicResponse) Reset()

func (*PanicResponse) String

func (x *PanicResponse) String() string

type PanicServiceClient

type PanicServiceClient interface {
	Panic(ctx context.Context, in *PanicRequest, opts ...grpc.CallOption) (*PanicResponse, error)
}

PanicServiceClient is the client API for PanicService 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 PanicServiceServer

type PanicServiceServer interface {
	Panic(context.Context, *PanicRequest) (*PanicResponse, error)
	// contains filtered or unexported methods
}

PanicServiceServer is the server API for PanicService service. All implementations must embed UnimplementedPanicServiceServer for forward compatibility

type UnimplementedPanicServiceServer

type UnimplementedPanicServiceServer struct {
}

UnimplementedPanicServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPanicServiceServer) Panic

type UnsafePanicServiceServer

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

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

Jump to

Keyboard shortcuts

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