Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvDev = "dev" EnvProd = "prod" EnvPre = "pre" EnvTest = "test" )
Variables ¶
Functions ¶
func GetNetwork ¶
Types ¶
type Network ¶
type Network struct { Index int `json:"index"` Name string `json:"name"` MAC string `json:"mac"` MTU int `json:"mtu"` Flags string `json:"flags"` IP []*net.IPNet `json:"ip"` IsUp bool `json:"is_up"` IsMulticast bool `json:"is_multicast"` IsBroadcast bool `json:"is_broadcast"` IsLoopback bool `json:"is_loopback"` }
Click to show internal directories.
Click to hide internal directories.