Documentation ¶
Index ¶
Constants ¶
View Source
const ( // APINetIXLAN holds net ix lan API APINetIXLAN = "https://www.peeringdb.com/api/netixlan" // APINet holds net API APINet = "https://www.peeringdb.com/api/net" )
Variables ¶
This section is empty.
Functions ¶
func GetNetIXLAN ¶
func GetNetIXLAN() (interface{}, error)
GetNetIXLAN fetchs netixlan data from peeringdb
Types ¶
type Net ¶
type Net struct { Name string `json:"name"` ASN int `json:"asn"` WWW string `json:"website"` Traffic string `json:"info_traffic"` InfoType string `json:"info_type"` Note string `json:"notes"` }
A Net represents peeringdb net record
Click to show internal directories.
Click to hide internal directories.