gobgpq3

package module
v0.0.0-...-df40338 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2019 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gobgpq3

Go library inspired by snar/bgpq3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOriginated4ByASN

func GetOriginated4ByASN(autnum string) ([]string, error)

GetOriginated4ByASN get ipv4 prefixes originated by a single autnum

func GetOriginated6ByASN

func GetOriginated6ByASN(autnum string) ([]string, error)

GetOriginated6ByASN get ipv6 prefixes originated by a single autnum

func SetWhoisServer

func SetWhoisServer(server string)

SetWhoisServer set's a other whois to be used instead of whois.radb.net

Types

type Prefixes

type Prefixes struct {
	PrefixesV4 []string
	PrefixesV6 []string
}

func GetOriginatedByASSet

func GetOriginatedByASSet(asset string) (Prefixes, error)

GetOriginatedByASSet get prefixes originated by a as-set of autnums

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址