Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CIDRSubnet ¶
CIDRSubnet will return the IPMask in decimal format e.g. 192.0.2.1/24 will return ("24", nil)
func GetAvailableIPs ¶
GetAvailableIPs provides IPs that are available in the passed cidr network address range.
The parameter `reqdCount` specifies the number of IP addresses to be returned.
TODO IMPORTANT Check if these channels leak ? Do we need to close them ?
Types ¶
Click to show internal directories.
Click to hide internal directories.