Documentation ¶
Overview ¶
Package lg provides looking glass methods for selected looking glasses Cogent Carrier Looking Glass ASN 174
Package lg provides looking glass methods for selected looking glasses KPN Looking Glass ASN 1299
Package lg provides looking glass methods for selected looking glasses Level3 Carrier Looking Glass ASN 3356
Package lg provides looking glass methods for selected looking glasses NTT communications Looking Glass
Package lg provides looking glass methods for selected looking glasses Telia Carrier Looking Glass ASN 1299
Index ¶
- Variables
- type Cogent
- func (p *Cogent) BGP() chan string
- func (p *Cogent) ChangeNode(node string) bool
- func (p *Cogent) FetchNodes() (map[string]string, map[string]string)
- func (p *Cogent) GetDefaultNode() string
- func (p *Cogent) GetNodes() []string
- func (p *Cogent) Ping() (string, error)
- func (p *Cogent) Set(host, version string)
- func (p *Cogent) Trace() chan string
- type KPN
- func (p *KPN) BGP() chan string
- func (p *KPN) ChangeNode(node string) bool
- func (p *KPN) FetchNodes() map[string]string
- func (p *KPN) GetDefaultNode() string
- func (p *KPN) GetNodes() []string
- func (p *KPN) Ping() (string, error)
- func (p *KPN) Set(host, version string)
- func (p *KPN) Trace() chan string
- type Level3
- func (p *Level3) BGP() chan string
- func (p *Level3) ChangeNode(node string) bool
- func (p *Level3) FetchNodes() map[string]string
- func (p *Level3) GetDefaultNode() string
- func (p *Level3) GetNodes() []string
- func (p *Level3) Ping() (string, error)
- func (p *Level3) Set(host, version string)
- func (p *Level3) Trace() chan string
- type NTT
- func (p *NTT) BGP() chan string
- func (p *NTT) ChangeNode(node string) bool
- func (p *NTT) FetchNodes() map[string]string
- func (p *NTT) GetDefaultNode() string
- func (p *NTT) GetNodes() []string
- func (p *NTT) Ping() (string, error)
- func (p *NTT) Set(host, version string)
- func (p *NTT) Trace() chan string
- type Telia
- func (p *Telia) BGP() chan string
- func (p *Telia) ChangeNode(node string) bool
- func (p *Telia) FetchNodes() map[string]string
- func (p *Telia) GetDefaultNode() string
- func (p *Telia) GetNodes() []string
- func (p *Telia) Ping() (string, error)
- func (p *Telia) Set(host, version string)
- func (p *Telia) Trace() chan string
Constants ¶
This section is empty.
Variables ¶
var KPNDefaultNode = "Amsterdam (NL)"
var NTTDefaultNode = "Los Angeles, CA - US"
Functions ¶
This section is empty.
Types ¶
type Cogent ¶
A Cogent represents a telia looking glass request
func (*Cogent) ChangeNode ¶
ChangeNode set new requested node
func (*Cogent) FetchNodes ¶
FetchNodes returns all available nodes through HTTP
func (*Cogent) GetDefaultNode ¶
GetDefaultNode returns telia default node
type KPN ¶ added in v0.2.7
A KPN represents a KPN looking glass request
func (*KPN) ChangeNode ¶ added in v0.2.7
ChangeNode set new requested node
func (*KPN) FetchNodes ¶ added in v0.2.7
FetchNodes returns all available nodes through HTTP
func (*KPN) GetDefaultNode ¶ added in v0.2.7
GetDefaultNode returns KPN default node
func (*KPN) Ping ¶ added in v0.2.7
Ping tries to connect KPN's ping looking glass through HTTP Returns the result
type Level3 ¶
A Level3 represents a telia looking glass request
func (*Level3) ChangeNode ¶
ChangeNode set new requested node
func (*Level3) FetchNodes ¶
FetchNodes returns all available nodes through HTTP
func (*Level3) GetDefaultNode ¶
GetDefaultNode returns telia default node
type NTT ¶ added in v0.2.7
func (*NTT) ChangeNode ¶ added in v0.2.7
ChangeNode set new requested node
func (*NTT) FetchNodes ¶ added in v0.2.7
FetchNodes returns all available nodes through HTTP
func (*NTT) GetDefaultNode ¶ added in v0.2.7
GetDefaultNode returns NTT default node
func (*NTT) Ping ¶ added in v0.2.7
Ping tries to connect NTT's ping looking glass through HTTP Returns the result
type Telia ¶
A Telia represents a telia looking glass request
func (*Telia) ChangeNode ¶
ChangeNode set new requested node
func (*Telia) FetchNodes ¶
FetchNodes returns all available nodes through HTTP
func (*Telia) GetDefaultNode ¶
GetDefaultNode returns telia default node