peeringdb

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2016 License: MIT Imports: 9 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Search(key string)

Search find a key through the records

Types

type Net added in v0.1.7

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

type Nets added in v0.1.7

type Nets struct {
	Data []Net `json:"data"`
}

Nets represents network information data

type Peer

type Peer struct {
	Name    string `json:"name"`
	ASN     int    `json:"asn"`
	Status  string `json:"status"`
	Speed   int    `json:"speed"`
	IPAddr4 string `json:"ipaddr4"`
	IPAddr6 string `json:"ipaddr6"`
}

A Peer represents peeringdb record

type Peers

type Peers struct {
	Data []Peer `json:"data"`
}

Peers represents peeringdb records

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL