Documentation ¶
Overview ¶
Package mergeips provides a way to convert list of IP randes definitions, like individual IPs, CIDR subners and begin-end ranges to the minimal list of net IPNet
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInputInvalid = errors.New("invalid input")
)
Errors
Functions ¶
func Parse ¶
Parse parses a string to net.IPNet String might be in 3 forms: ip address itself, in v4 or v6 notation CIDR subnet address, v4 or v6 IP adresses range, v4 or v6, in form begin-end If strict is false CIDR form subnet could be defined with not-a-first addrsss in the subnet. Otherwise the error will be returned
Types ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
bigint
Package bigint comment should be of this form Package bigint comment should be of this form Package bigint comment should be of this form
|
Package bigint comment should be of this form Package bigint comment should be of this form Package bigint comment should be of this form |
int128
Package int128 comment should be of this form
|
Package int128 comment should be of this form |
masks
Package masks comment should be of this form
|
Package masks comment should be of this form |
subnet
Package subnet comment should be of this form
|
Package subnet comment should be of this form |
Package ipnet provides some useful methods to handle net.IPNet lists
|
Package ipnet provides some useful methods to handle net.IPNet lists |
Package iprange is to havdle ipranges, like 1.1.1.1-2.2.2.2 IPv6 supported, of course
|
Package iprange is to havdle ipranges, like 1.1.1.1-2.2.2.2 IPv6 supported, of course |
Click to show internal directories.
Click to hide internal directories.