Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetInterfaceIP ¶
type NetInterfaceIP struct {
// contains filtered or unexported fields
}
NetInterfaceIP 记录所有网卡对应的IP地址
func (*NetInterfaceIP) EnumAllIP ¶
func (p *NetInterfaceIP) EnumAllIP() map[string]*NicIP
EnumAllIP 枚举本地网卡对应的ip地址
func (*NetInterfaceIP) GetIPByNic ¶
func (p *NetInterfaceIP) GetIPByNic(nic string) string
Click to show internal directories.
Click to hide internal directories.