more complete PR for adding more net support (#64)

This commit is contained in:
Pat Whittingslow
2026-07-03 17:04:17 -03:00
committed by GitHub
parent 2e825c2b01
commit ffb222f1ad
8 changed files with 350 additions and 1 deletions
+5
View File
@@ -109,3 +109,8 @@ func InterfaceAddrs() ([]Addr, error) {
func InterfaceByIndex(index int) (*Interface, error) {
return nil, errors.New("InterfaceByIndex not implemented")
}
// InterfaceByName returns the interface specified by name.
func InterfaceByName(name string) (*Interface, error) {
return nil, errors.New("InterfaceByName not implemented")
}