schema

package
v0.0.0-...-8887655 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, obj interface{}, url string) error

func IXURL

func IXURL(id int64) string

func NetIXLanInIXURL

func NetIXLanInIXURL(id int64) string

func NetURLMulti

func NetURLMulti(ids []int64) string

Types

type IX

type IX struct {
	ID       int64   `json:"id"`
	OrgID    int64   `json:"org_id"`
	Name     string  `json:"name"`
	IXLanSet []IXLan `json:"ixlan_set"`
}

type IXLan

type IXLan struct {
	ID     int64  `json:"id"`
	Name   string `json:"name"`
	NetSet []Net  `json:"net_set"`
}

type Net

type Net struct {
	ID    int64  `json:"id"`
	OrgID int64  `json:"org_id"`
	Name  string `json:"name"`
	ASN   int64  `json:"asn"`
}

type NetIXLan

type NetIXLan struct {
	ID    int64  `json:"id"`
	NetID int64  `json:"net_id"`
	IXID  int64  `json:"ix_id"`
	Name  string `json:"name"`
	Speed int64  `json:"speed"`
	ASN   int64  `json:"asn"`
	IPv4  string `json:"ipaddr4"`
	IPv6  string `json:"ipaddr6"`
}

Jump to

Keyboard shortcuts

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