drouter

package
v0.0.0-...-6231fe0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2017 License: BSD-2-Clause Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts *DistributedRouterOptions, shutdown <-chan struct{}) error

Run creates and runs a drouter instance

Types

type DistributedRouterOptions

type DistributedRouterOptions struct {
	IPOffset         int
	Aggressive       bool
	HostShortcut     bool
	ContainerGateway bool
	HostGateway      bool
	Masquerade       bool
	P2PAddr          string
	StaticRoutes     []string
	TransitNet       string
	InstanceName     string
}

DistributedRouterOptions Options for our DistributedRouter instance

Jump to

Keyboard shortcuts

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