Documentation ¶
Overview ¶
Package ifaceutil 网络接口的函数
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIfaceByIP ¶
GetIfaceByIP 根据 IP 地址获取本机的指定的接口
func GetIfaceByMAC ¶
func GetIfaceByMAC(mac net.HardwareAddr) (*net.Interface, error)
GetIfaceByMAC 根据 MAC 地址获取本机的指定的接口
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.