netinterfaces

package
v0.0.0-...-7726874 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: GPL-3.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