ipalias

package module
v0.0.0-...-c3c46f5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAlias

func AddAlias(dev string, ip net.IP, mask net.IPMask) error

e.g., dev="lo", ip="169.254.169.254", mask="255.255.255.255" adds a new loopback address. Currently only IPv4 supported.

func RemoveAlias

func RemoveAlias(dev string, ip net.IP, mask net.IPMask) error

See AddAlias for parameter details.

Types

This section is empty.

Jump to

Keyboard shortcuts

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