peeringdb

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB added in v0.0.2

type DB struct {
	IXs      []IX
	LANs     []LAN
	Prefixes []Prefix
}

func (*DB) FromAPI added in v0.0.2

func (db *DB) FromAPI() error

type IX added in v0.0.2

type IX struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type LAN added in v0.0.2

type LAN struct {
	ID   int `json:"id"`
	IXID int `json:"ix_id"`
}

type Prefix added in v0.0.2

type Prefix struct {
	ID      int    `json:"id"`
	IXLanID int    `json:"ixlan_id"`
	Prefix  string `json:"prefix"`
}

Jump to

Keyboard shortcuts

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