peerfacts

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeviceFacts

func DeviceFacts(
	dev *wgtypes.Device,
	ttl time.Duration,
	ifaceFilter func(name string) bool,
) (
	ret []*fact.Fact,
	err error,
)

DeviceFacts returns facts about the local wireguard device

func LocalFacts

func LocalFacts(peer *wgtypes.Peer, ttl time.Duration) (ret []*fact.Fact, err error)

LocalFacts gets all the known facts about a local peer

Types

This section is empty.

Jump to

Keyboard shortcuts

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