Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channels ¶
type Channels struct { IPv4 chan RouteAnnouncement IPv6 chan RouteAnnouncement Peers chan []Peer Errors chan error }
func NewChannels ¶
func NewChannels() Channels
type MOASPrefix ¶
type MOASPrefix struct { Prefix string `json:"prefix"` Origin []MOASPrefixOrigin `json:"origin"` }
type MOASPrefixOrigin ¶
type PeerStatistics ¶
type RouteAnnouncement ¶
type Routes ¶
type Routes struct {
// contains filtered or unexported fields
}
func (*Routes) HandleAnnouncements ¶
func (*Routes) PrintMOASPrefixes ¶
type Statistics ¶
type Statistics struct { IPv4Prefixes int `json:"ipv4_prefixes"` IPv6Prefixes int `json:"ipv6_prefixes"` IPv4MOASPrefixes int `json:"ipv4_moas_prefixes"` IPv6MOASPrefixes int `json:"ipv6_moas_prefixes"` Peers []PeerStatistics `json:"peers"` }
Click to show internal directories.
Click to hide internal directories.