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) 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 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 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