arp

package
v0.0.0-...-25c8075 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfaceToName

func IfaceToName(interfaceNames string) ([]string, error)

* IfaceToName is func.... * INPUT : interfaceNames * : ex1, "eth1" * : ex2, "eth1,eth2,eth3" * : ex3, "all" * OUTPUT : []string * : ex1, []string{"eth1"} * : ex2, []string{"eth1", "eth2", "eth3"} * : ex3, []string{"eth1", "eth2", "eth3", ... all interface}

func New

func New(config Config) (arpStruct, error)

* New is ...

Types

type Config

type Config struct {
	Interface string
	Timeout   time.Duration
	Backoff   float64
}

Jump to

Keyboard shortcuts

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