Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_panic_proto protoreflect.FileDescriptor
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.
func NewPanicServiceClient ¶
func NewPanicServiceClient(cc grpc.ClientConnInterface) PanicServiceClient
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 ¶
func (UnimplementedPanicServiceServer) Panic(context.Context, *PanicRequest) (*PanicResponse, error)
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.