Documentation ¶ Overview ¶ net扩展包。 Index ¶ func LocalIP(ifacePred IfacePred) (net.IP, error) func LocalIPStr(ifacePred IfacePred, def string) string func LocalIPs(ifacePred IfacePred) ([]net.IP, error) func OnlyEth0(iface net.Interface) bool func OnlyEth1(iface net.Interface) bool type IfacePred Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LocalIP ¶ func LocalIP(ifacePred IfacePred) (net.IP, error) func LocalIPStr ¶ func LocalIPStr(ifacePred IfacePred, def string) string func LocalIPs ¶ func LocalIPs(ifacePred IfacePred) ([]net.IP, error) func OnlyEth0 ¶ func OnlyEth0(iface net.Interface) bool func OnlyEth1 ¶ func OnlyEth1(iface net.Interface) bool Types ¶ type IfacePred ¶ type IfacePred func(net.Interface) bool Source Files ¶ View all Source files doc.go util.go Directories ¶ Show internal Expand all Path Synopsis httpx useragent UserAgent解析与列表。 UserAgent解析与列表。 urlx Click to show internal directories. Click to hide internal directories.