autopeer

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoAddress

func AutoAddress(key wgtypes.Key) net.IP

AutoAddress returns the IPv6 link-local address that should be assigned to peer based on its public key

func AutoAddressNet added in v0.7.0

func AutoAddressNet(key wgtypes.Key) net.IPNet

AutoAddressNet returns the peer's AutoAddress with a /128 netmask

Types

This section is empty.

Jump to

Keyboard shortcuts

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