Versions in this module Expand all Collapse all v0 v0.3.0 Aug 3, 2026 Changes in this version + const WarningAddressesUnavailable + const WarningCountersUnavailable + const WarningHostnameUnavailable + const WarningInterfacesUnavailable + type Address struct + CIDR string + Family string + Scope string + Zone string + type Interface struct + Addresses []Address + CountersAvailable bool + Index int + Loopback bool + MTU int + Name string + PointToPoint bool + RXBytes uint64 + Running bool + TXBytes uint64 + Up bool + type Snapshot struct + Arch string + Available bool + CollectedTime int64 + Hostname string + Interfaces []Interface + OS string + Warnings []string + func Collect(ctx context.Context) (Snapshot, error)