peerfacts

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 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,
	now time.Time,
	ttl time.Duration,
	config *config.Server,
	env networking.Environment,
) (
	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, now time.Time) (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