netx

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

net扩展包。

Index

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

Directories

Path Synopsis
useragent
UserAgent解析与列表。
UserAgent解析与列表。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL