Documentation ¶
Overview ¶
Package ripe provides ASN and IP information
Index ¶
Constants ¶
View Source
const ( // RIPEAPI holds RIPE API URL RIPEAPI = "https://stat.ripe.net" // RIPEPrefixURL holds RIPE prefix path RIPEPrefixURL = "/data/prefix-overview/data.json?max_related=50&resource=" // RIPEASNURL holds RIPE ASN path RIPEASNURL = "/data/as-overview/data.json?resource=AS" // RIPEGeoURL holds Geo path RIPEGeoURL = "/data/geoloc/data.json?resource=AS" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ASN ¶
ASN represents ASN information
func (*ASN) GetGeoData ¶ added in v0.1.8
GetGeoData gets Geo information from RIPE NCC
Click to show internal directories.
Click to hide internal directories.