mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-14 16:33:39 +00:00
more complete PR for adding more net support (#64)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user