Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { Name string `json:"name"` MAC string `json:"mac"` Speed int `json:"speed"` MTU int `json:"mtu"` Driver string `json:"driver"` Path string `json:"path"` }
Adapter captures a physical adapter.
type Bridge ¶
type Bridge struct { Name string `json:"name"` MAC string `json:"mac"` MTU int `json:"mtu"` Path string `json:"path"` }
Bridge captures bridge devices.
type Probe ¶
type Probe struct { Physical []Adapter `json:"physical"` Bridges []Bridge `json:"bridges"` Virtual []Virtual `json:"virtual"` // contains filtered or unexported fields }
Probe struct for storage. Splits adapters by physical adapters, virtual adapters, and bridges.
Click to show internal directories.
Click to hide internal directories.