util

package
v0.0.0-...-7752920 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeviceList func() Devices
)

Functions

This section is empty.

Types

type Arp

type Arp struct {
	IP      string
	MacAddr string
}

type ArpTable

type ArpTable []Arp

func ArpList

func ArpList(linkIndex int) ArpTable

type Device

type Device struct {
	Index   int
	Name    string
	MacAddr string
	Type    string
}

type Devices

type Devices []Device

type IP

type IP struct {
	IP string
}

type IPs

type IPs []IP

func IPByIndex

func IPByIndex(index int) IPs

Jump to

Keyboard shortcuts

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