capture

package
v0.0.0-...-27598f0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDevice

func NewDevice(iface string) (interfaces.Capture, error)

func NewFile

func NewFile(fpath string) (interfaces.Capture, error)

Types

type Mock

type Mock struct {
	Packets []gopacket.Packet
}

func (*Mock) Read

func (x *Mock) Read() chan gopacket.Packet

Jump to

Keyboard shortcuts

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