trireme-lib: Index | Files

package netinterfaces

import ""


Package Files


type NetworkInterface Uses

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

NetworkInterface holds info of a network interface

func GetInterfacesInfo Uses

func GetInterfacesInfo() ([]NetworkInterface, error)

GetInterfacesInfo returns interface info

Package netinterfaces imports 3 packages (graph) and is imported by 2 packages. Updated 2019-06-12. Refresh now. Tools for package owners.