package
0.0.0-20241223090118-035fcd7fed56
Repository: https://github.com/ibiscum/hands-on-software-engineering-with-golang.git
Documentation: pkg.go.dev

# Functions

NewDetector returns a new Detector instance which is initialized with the default list of IPv4/IPv6 CIDR blocks that correspond to private networks according to RFC1918.
NewDetectorFromCIDRs returns a new Detector instance which is initialized with the specified list of privateNetworkCIDRs.

# Structs

Detector checks whether a host name resolves to a private network address.