net

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNetworkFree added in v1.0.0

func CheckNetworkFree(subnet *net.IPNet) error

A network is considered free if it does not overlap any existing routes on this host. This is the same approach taken by Docker.

func EnsureInterface

func EnsureInterface(ifaceName string, wait int) (iface *net.Interface, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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