Skip to content

golang library to parse asn data from iptoasn.com

License

Notifications You must be signed in to change notification settings

Thunder33345/asndb

Repository files navigation

ASNDB

This is a package that provides an interface to iptoasn's database.

This is meant to work with ip2asn-combined.tsv dataset, it will also work with the IPv4 and IPv6 only datasets.

This package uses net/netip.

See godoc for more reference.

ASList

ASList facilitates looking up AS zone by IP address using Find(ip).

And viewing neighbour AS zones by Index(ip) and FromIndex(index).

ASNMap

ASNMap facilitates looking up AS zones by ASN using ListAS(asn).

And listing all ASN by ListASN()

About

golang library to parse asn data from iptoasn.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages