Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { v1.UnimplementedLinuxCaptureServiceServer //Captures identifies the capture per interface name Captures map[string]*pcap.PcapHandler Linux Linux // contains filtered or unexported fields }
Handler Implement the CaptureHandler interface for linux environnement
func (*Handler) Capture ¶ added in v0.2.1
func (s *Handler) Capture(req *types.LinuxCapture, stream v1.LinuxCaptureService_CaptureServer) error
Capture implement the capture grpc interface
func (*Handler) ServerInformation ¶
func (s *Handler) ServerInformation() (*types.ServerInfo, error)
type Linux ¶
type Linux struct { //Whether the linux configuration is enabled or no Enabled bool `yaml:"enabled,omitempty"` //OverideDefaultNamespace let us change the network namespace to capture in OverideDefaultNamespace string `yaml:"overrideNamespace,omitempty"` }
Linux provides a Linux server capture configuration
Click to show internal directories.
Click to hide internal directories.