Documentation ¶ Overview ¶ Package cidr contains functions that deal with classless reverse zones in the DNS. Index ¶ func Reverse(nets []string) []string func Split(n *net.IPNet) []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Reverse ¶ func Reverse(nets []string) []string Reverse return the reverse zones that are authoritative for each net in ns. func Split ¶ added in v1.8.5 func Split(n *net.IPNet) []string Split returns a slice of non-overlapping subnets that in union equal the subnet n, and where each subnet falls on a reverse name segment boundary. for ipv4 this is any multiple of 8 bits (/8, /16, /24 or /32) for ipv6 this is any multiple of 4 bits Types ¶ This section is empty. Source Files ¶ View all Source files cidr.go Click to show internal directories. Click to hide internal directories.