Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskNetworkInfo ¶
retrieves information for the specified network device.
Parameters:
device (string): The name of the network device for which to fetch addresses.
Returns:
net.HardwareAddr: MAC address of the network device. net.IP: IPv4 address of the network device. net.IP: Broadcast address of the network device. error: Any error encountered during the address retrieval process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.