netinterfaces

package
v10.267.29+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkInterface

type NetworkInterface struct {
	Name   string
	IPs    []net.IP
	IPNets []*net.IPNet
	Flags  net.Flags
}

NetworkInterface holds info of a network interface

func GetInterfacesInfo

func GetInterfacesInfo() ([]NetworkInterface, error)

GetInterfacesInfo returns interface info

Jump to

Keyboard shortcuts

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