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 ¶
A KPN represents a KPN looking glass request
func (*KPN) ChangeNode ¶
ChangeNode set new requested node
func (*KPN) FetchNodes ¶
FetchNodes returns all available nodes through HTTP
func (*KPN) GetDefaultNode ¶
GetDefaultNode returns KPN default node
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 ¶
func (*NTT) ChangeNode ¶
ChangeNode set new requested node
func (*NTT) FetchNodes ¶
FetchNodes returns all available nodes through HTTP
func (*NTT) GetDefaultNode ¶
GetDefaultNode returns NTT default node
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