Skip to main content

Module wireguard

Module wireguard 

Source
Expand description

WireGuard tunnel implementation using gotatun.

This module wraps gotatun’s Tunn struct and manages the UDP transport for sending/receiving encrypted WireGuard packets.

Structs§

WireGuardConfig
Configuration for the WireGuard tunnel.
WireGuardTunnel
A WireGuard tunnel that encrypts/decrypts IP packets.