package
0.0.0-20211215215226-4cdd4fd2847b
Repository: https://github.com/getlantern/goexpr.git
Documentation: pkg.go.dev
# Functions
ASN returns the ASN number for a given IPv4 address as an int.
ASName returns the ASN name for a given IPv4 address.
ISP returns the ISP name for a given IPv4 address.
ORG returns the Organization name for a given IPv4 address (similar to ISP but may have different data depending on provider used).
SetProvider sets the ISP data provider.
# Constants
DefaultCacheSize determines the default size for the ip cache.
# Interfaces
Provider implements the actual looking up of ISP and ASN information.