capture

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInterfaceList

func GetInterfaceList() ([]string, error)

GetInterfaceList returns a list of available network interfaces

Types

type Capturer

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

Capturer handles packet capture from network interfaces

func NewCapturer

func NewCapturer(interfaces []string) (*Capturer, error)

NewCapturer creates a new packet capturer for the specified interfaces

func (*Capturer) Start

func (c *Capturer) Start(ctx context.Context, db *storage.Database) error

Start begins packet capture on all interfaces

Jump to

Keyboard shortcuts

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