package
Version:
v0.3.12-test
Opens a new window with list of versions in this module.
Published: Aug 13, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Increment(ip net.IP)
Increment increments the given net.IP by one bit. Incrementing the last IP in an IP space (IPv4, IPV6) is undefined.
Generator is a net.IPnet wrapper that you can iterate over
New creates a new Generator from a CIDR string, or an error if the CIDR is invalid.
NewFromIPNet creates a new Generator from a *net.IPNet
First returns the first net.IP in the subnet
Next returns the next net.IP in the subnet
Source Files
¶
Click to show internal directories.
Click to hide internal directories.