MCPcopy
hub / github.com/jaypipes/ghw / Info

Struct Info

pkg/net/net.go:96–100  ·  view source on GitHub ↗

Info describes all network interface controllers (NICs) in the host system.

Source from the content-addressed store, hash-verified

94
95// Info describes all network interface controllers (NICs) in the host system.
96type Info struct {
97 // NICs is a slice of pointers to `NIC` structs describing the network
98 // interface controllers (NICs) on the host system.
99 NICs []*NIC `json:"nics"`
100}
101
102// New returns a pointer to an Info struct that contains information about the
103// network interface controllers (NICs) on the host system

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected