linux

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_services_linux_linux_proto protoreflect.FileDescriptor
View Source
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.

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.

func (UnimplementedLinuxCaptureServiceServer) Capture

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.

Jump to

Keyboard shortcuts

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