netinfo

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: Apache-2.0 Imports: 5 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(root string, info []NetInfo) error

Types

type NetInfo

type NetInfo struct {
	NetName  string `json:"netName"`
	ConfPath string `json:"netConf"`
	IfName   string `json:"ifName"`
	IP       net.IP `json:"ip"`
	Args     string `json:"args"`
	HostIP   net.IP
}

func LoadAt

func LoadAt(cdirfd int) ([]NetInfo, error)

Jump to

Keyboard shortcuts

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