Versions in this module Expand all Collapse all v0 v0.0.1 Sep 16, 2024 Changes in this version + const DefaultWireguardPort + const PersistentKeepaliveInterval + type WireguardDevice interface + DeviceName func() string + func NewWireguardDevice(cfg WireguardDeviceConfig) WireguardDevice + type WireguardDeviceConfig struct + Address netip.Addr + ListenPort int + Peer WireguardDevicePeer + PrivateKey wgtypes.Key + type WireguardDevicePeer struct + AllowedIPs []netip.Prefix + Endpoint netip.AddrPort + PublicKey wgtypes.Key