peerfacts

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: 9 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,
	config *config.Server,
) (
	ret []*fact.Fact,
	err error,
)

DeviceFacts returns facts about the local wireguard device

func LocalFacts

func LocalFacts(peer *wgtypes.Peer, ttl time.Duration, trustLocalAIPs bool) (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