Documentation
¶
Overview ¶
Package peerfacts provides functions to extract facts from the local network interfaces and the wireguard interface config.
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 and the peer that it represents, but not about other peers configured in the device.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.