package
1.65.4
Repository: https://github.com/untangle/golang-shared.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckIPAddressType returns the type of the IP address.
NetToRange converts a *net.IPNet to an IPRange.

# Constants

InvalidIPStr -- Error message for invalid IP.
IPv4Str -- String denoting IPV4, used like an enum.
IPv6Str -- string denoting IPv6, used like an enum.

# Structs

IPRange is a range of IPs, from Start to End inclusive.
PortRange is a range of ports, from Start to End inclusive.

# Type aliases

IPSpecifierString is a string in the form of an IP range, CIDR address, or regular IP.
Port alias uint16 for readability.
PortSpecifierString is a string in the form of a port range, or a single port.