Versions in this module Expand all Collapse all v0 v0.2.1 Oct 28, 2026 v0.2.0 Oct 27, 2026 Changes in this version + type Address struct + Family string + IP string + PrefixLength int + Scope string + type CollectionStatus struct + Detail string + ObservedAt *time.Time + State string + type Interface struct + Addresses []Address + Flags []string + HardwareAddress string + Index int + MTU int + Name string + type Options struct + MaxAddresses int + MaxInterfaces int + MaxRoutes int + Timeout time.Duration + type Resolver struct + Options []string + Search []string + Servers []string + type Route struct + Default bool + Destination string + Gateway string + Interface string + Metric int + type Snapshot struct + InterfaceStatus CollectionStatus + Interfaces []Interface + ObservedAt time.Time + Platform string + Resolver Resolver + ResolverStatus CollectionStatus + RouteStatus CollectionStatus + Routes []Route + func Discover(ctx context.Context, options Options) (Snapshot, error)