capture

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sniffer

type Sniffer struct {
	File string

	Wide bool
	// contains filtered or unexported fields
}

Sniffer contains the fields that describe how to run the capture.

func (*Sniffer) Capture

func (s *Sniffer) Capture() error

Capture writes packets from the designated device to stdout and/or a pcap.

Jump to

Keyboard shortcuts

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