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: 0

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