- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestInterfaceAddrs (0.13 sec)
-
src/net/interface_test.go
} if !reflect.DeepEqual(ifxn, &ifi) { t.Errorf("got %v; want %v", ifxn, ifi) } t.Logf("%s: flags=%v index=%d mtu=%d hwaddr=%v", ifi.Name, ifi.Flags, ifi.Index, ifi.MTU, ifi.HardwareAddr) } } func TestInterfaceAddrs(t *testing.T) { ift, err := Interfaces() if err != nil { t.Fatal(err) } ifStats := interfaceStats(ift) ifat, err := InterfaceAddrs() if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 9.8K bytes - Viewed (0)