inireader

package
v0.0.0-...-c7f2c09 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PossibleOptions = map[string]bool{
	"ixid":                   true,
	"routeserver":            true,
	"routeserver_group":      true,
	"peer_group":             true,
	"routeserver_group6":     true,
	"peer_group6":            true,
	"wildcard":               true,
	"importpolicy":           true,
	"exportpolicy":           true,
	"routeserver_prefixes":   true,
	"routeserver_prefixes6":  true,
	"rs_asn":                 true,
	"wildcard_prefix_filter": true,
}

Functions

func ParseOptionLine

func ParseOptionLine(line string, exchangeOptions ixtypes.ExchangeOptions, currentHead string)

func ParsePeerLine

func ParsePeerLine(line string, lineNumber int) ixtypes.ExchangePeer

func ReadPeeringConfig

func ReadPeeringConfig(r io.Reader) ixtypes.IXs

Types

This section is empty.

Jump to

Keyboard shortcuts

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