wireguard

package
v0.0.0-...-b4f4f56 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package wireguard implements a few helpers for the WireGuard protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(cfg string, key *wgtypes.Key) (string, error)

Config places a WireGuard key `key` inside of the WireGuard config `cfg`

Types

This section is empty.

Directories

Path Synopsis
Package ini implements an opinionated ini parser that only implements what we exactly need for WireGuard configs - key/values MUST live under a section - empty section names are NOT allowed - comments are indicated with a #
Package ini implements an opinionated ini parser that only implements what we exactly need for WireGuard configs - key/values MUST live under a section - empty section names are NOT allowed - comments are indicated with a #

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL