Registry / networking / libp2p-go-libp2p-asn-util

libp2p-go-libp2p-asn-util

JSON →
library0.4.1gogounverified

Provides a mapping lookup for IPv6 ASNs.

go get github.com/libp2p/go-libp2p-asn-util
INSTALL
IMPORT
SIG · LIBP2P-GO-LIBP2P-A
L
libp2p-go-libp2p-asn-util
networkinggov0.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

asnutil
github.com/libp2p/go-libp2p-asn-util

Look up the ASN for an IPv6 address.

package main import ( "fmt" "github.com/libp2p/go-libp2p-asn-util" ) func main() { asn, err := asnutil.ASNForIPv6(net.ParseIP("2001:db8::1")) fmt.Println(asn, err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
libp2p-go-libp2p-asn-util — go get libp2p-go-libp2p-asn-util · libregistry