Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressRange ¶
func Parse ¶
func Parse(in string) (*AddressRange, error)
Parse takes a single target specification and returns a range. It effectively calls ParseList and returns the first result
func (*AddressRange) Expand ¶
func (r *AddressRange) Expand() []net.IP
Expand expands an address with a mask taken from a stream
type AddressRangeList ¶
type AddressRangeList []AddressRange
func ParseList ¶
func ParseList(in string) (AddressRangeList, error)
ParseList takes a list of target specifications and returns a list of ranges, even if the list contains a single element.
func (AddressRangeList) Expand ¶
func (l AddressRangeList) Expand() []net.IP
Expand expands and normalizes a set of parsed target specifications
Click to show internal directories.
Click to hide internal directories.