config

package
v0.0.0-...-ab6be4f Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RouteID            string   // local router ID
	RouteASN           uint32   // local and upstream ASN
	RoutePeer          []string // upstream BGP peer(s)
	DockerNetwork      []string // names of watched docker network(s)
	DockerDefaultRoute net.IP   // default route within container
}

Config represents application configuration

func ParseFlags

func ParseFlags(args []string) (*Config, error)

ParseFlags parses command line arguments and populates the application configuration

Jump to

Keyboard shortcuts

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