network

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	Device  string
	IP      net.IP
	Netmask net.IPMask
	Members []string
}

Bridge is a Darwin/BSD network bridge device

func (*Bridge) Destroy

func (b *Bridge) Destroy() error

Destroy runs ifconfig bridge<N> destroy

func (*Bridge) Up

func (b *Bridge) Up() error

Up brings the defined bridge interface up in an idempotent fashion

Jump to

Keyboard shortcuts

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