Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASNPrefixes ¶
ASNPrefixes is a set of IPv4 & IPv6 post-parsed & sorted addresses.
func GetASNPrefixes ¶
func GetASNPrefixes(asn string) (*ASNPrefixes, error)
GetASNPrefixes gets all announced prefixes of a given ASN.
type AsnDetail ¶
AsnDetail describes details of an ASN.
func GetASNDetail ¶
GetASNDetail gets the details of an ASN.
type IPDetail ¶
type IPDetail struct { RIR string IP string PTR string ASN int64 Prefix string Org string Name string }
IPDetail describes details of an IP address.
func GetIPDetail ¶
GetIPDetail gets details of an IP address.
type PrefixDetail ¶
type PrefixDetail struct { Org string Origins []PrefixOrigin Name string Prefix string RIR string }
PrefixDetail describes details of a prefix.
func GetPrefixDetail ¶
func GetPrefixDetail(pfx string) (*PrefixDetail, error)
GetPrefixDetail gets the details of a prefix.
type PrefixOrigin ¶
PrefixOrigin describes a prefix origin AS & details.
Click to show internal directories.
Click to hide internal directories.