cidr

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountAddresses

func CountAddresses(inputCIDR string) int

func IsPublic

func IsPublic(cidr string) bool

IsPublic returns true if a provided IP is outside of the designated public ranges, or true if either of the min/max addresses of a provided CIDR are outside of these ranges.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL