ctrlnet

package
v0.0.0-...-ce94876 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInterfaces

func GetInterfaces(filter string) ([]string, error)
func SetLink(name string, settings *LinkSettings) error

Types

type LinkSettings

type LinkSettings struct {
	// Latency between links (in milliseconds)
	Latency uint

	// Jitter in latency values (in milliseconds)
	Jitter uint

	// Bandwidth of link (in bits per second)
	Bandwidth uint

	// PacketLoss percentage on the links (in whole percentage points)
	PacketLoss uint8
}

Jump to

Keyboard shortcuts

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