Documentation ¶
Index ¶
- Variables
- func RegisterLinuxCaptureServiceServer(s grpc.ServiceRegistrar, srv LinuxCaptureServiceServer)
- type LinuxCaptureServiceClient
- type LinuxCaptureServiceServer
- type LinuxCaptureService_CaptureClient
- type LinuxCaptureService_CaptureServer
- type UnimplementedLinuxCaptureServiceServer
- type UnsafeLinuxCaptureServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_services_linux_linux_proto protoreflect.FileDescriptor
var LinuxCaptureService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.LinuxCaptureService", HandlerType: (*LinuxCaptureServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Capture", Handler: _LinuxCaptureService_Capture_Handler, ServerStreams: true, }, }, Metadata: "services/linux/linux.proto", }
LinuxCaptureService_ServiceDesc is the grpc.ServiceDesc for LinuxCaptureService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLinuxCaptureServiceServer ¶
func RegisterLinuxCaptureServiceServer(s grpc.ServiceRegistrar, srv LinuxCaptureServiceServer)
Types ¶
type LinuxCaptureServiceClient ¶
type LinuxCaptureServiceClient interface {
Capture(ctx context.Context, in *types.LinuxCapture, opts ...grpc.CallOption) (LinuxCaptureService_CaptureClient, error)
}
LinuxCaptureServiceClient is the client API for LinuxCaptureService 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 NewLinuxCaptureServiceClient ¶
func NewLinuxCaptureServiceClient(cc grpc.ClientConnInterface) LinuxCaptureServiceClient
type LinuxCaptureServiceServer ¶
type LinuxCaptureServiceServer interface { Capture(*types.LinuxCapture, LinuxCaptureService_CaptureServer) error // contains filtered or unexported methods }
LinuxCaptureServiceServer is the server API for LinuxCaptureService service. All implementations must embed UnimplementedLinuxCaptureServiceServer for forward compatibility
type LinuxCaptureService_CaptureClient ¶
type LinuxCaptureService_CaptureClient interface { Recv() (*types.Packet, error) grpc.ClientStream }
type LinuxCaptureService_CaptureServer ¶
type LinuxCaptureService_CaptureServer interface { Send(*types.Packet) error grpc.ServerStream }
type UnimplementedLinuxCaptureServiceServer ¶
type UnimplementedLinuxCaptureServiceServer struct { }
UnimplementedLinuxCaptureServiceServer must be embedded to have forward compatible implementations.
type UnsafeLinuxCaptureServiceServer ¶
type UnsafeLinuxCaptureServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLinuxCaptureServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LinuxCaptureServiceServer will result in compilation errors.