mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-16 18:53:26 +00:00
@@ -76,6 +76,15 @@ func Interfaces() ([]Interface, error) {
|
|||||||
return nil, errors.New("Interfaces not implemented")
|
return nil, errors.New("Interfaces not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// InterfaceAddrs returns a list of the system's unicast interface
|
||||||
|
// addresses.
|
||||||
|
//
|
||||||
|
// The returned list does not identify the associated interface; use
|
||||||
|
// Interfaces and Interface.Addrs for more detail.
|
||||||
|
func InterfaceAddrs() ([]Addr, error) {
|
||||||
|
return nil, errors.New("InterfaceAddrs not implemented")
|
||||||
|
}
|
||||||
|
|
||||||
// InterfaceByIndex returns the interface specified by index.
|
// InterfaceByIndex returns the interface specified by index.
|
||||||
//
|
//
|
||||||
// On Solaris, it returns one of the logical network interfaces
|
// On Solaris, it returns one of the logical network interfaces
|
||||||
|
|||||||
Reference in New Issue
Block a user