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 Level3 Carrier Looking Glass ASN 3356
Package lg provides looking glass methods for selected looking glasses Telia Carrier Looking Glass ASN 1299
Index ¶
- 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 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 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 ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cogent ¶
A Cogent represents a telia looking glass request
func (*Cogent) BGP ¶ added in v0.1.7
BGP gets bgp information from cogent
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
func (*Cogent) GetNodes ¶
GetNodes returns all Cogent nodes (US and International)
func (*Cogent) Ping ¶
Ping tries to connect Cogent'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
func (*Level3) GetNodes ¶
GetNodes returns all level3 nodes (US and International)
func (*Level3) Ping ¶
Ping tries to connect Level3's ping looking glass through HTTP Returns the result
type Telia ¶
A Telia represents a telia looking glass request
func (*Telia) BGP ¶ added in v0.1.7
BGP gets bgp information from Telia
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
func (*Telia) GetNodes ¶
GetNodes returns all Telia nodes (US and International)
func (*Telia) Ping ¶
Ping tries to connect Telia's ping looking glass through HTTP Returns the result