iface

package
v0.0.0-...-228d4f2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTable

func GenerateTable(ifaces []pcap.Interface) (string, error)

func GetIfaces

func GetIfaces() ([]pcap.Interface, error)

Returns a list of all interfaces on the system.

func Print

func Print() error

Returns the interface with the given description.

func SelectInterfaceByName

func SelectInterfaceByName(name string) (pcap.Interface, error)

Returns the interface with the given name.

Types

type Template

type Template struct {
	Header string
	Items  []pcap.Interface
}

Jump to

Keyboard shortcuts

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