Documentation ¶
Index ¶
- func ContainsString(slice []string, s string) bool
- func GetCIDRAddressCount(cidr string) int
- func GetDefaultInterfaceName() string
- func GetIPRangeAddressCount(first, last string) int
- func GetOutboundIP() string
- func GetValidAddressCount(addr string) int
- func Intersect(n1, n2 *net.IPNet) bool
- func ParseAddress(addr string) ([]*net.IPNet, error)
- func RemoveString(slice []string, s string) (result []string)
- func ToCommonString(ip string, prefix uint32) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
func GetCIDRAddressCount ¶ added in v0.3.0
func GetDefaultInterfaceName ¶ added in v0.0.2
func GetDefaultInterfaceName() string
func GetIPRangeAddressCount ¶ added in v0.3.0
func GetValidAddressCount ¶ added in v0.3.0
func RemoveString ¶
func ToCommonString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.