Categorygithub.com/mdlayher/wgdynamic-go
modulepackage
0.0.0-20191220140747-2e3a1792edfd
Repository: https://github.com/mdlayher/wgdynamic-go.git
Documentation: pkg.go.dev

# README

wgdynamic-go builds.sr.ht status GoDoc Go Report Card

Package wgdynamic implements a client and server for the the wg-dynamic protocol.

For more information about wg-dynamic, please see: https://git.zx2c4.com/wg-dynamic/about/.

This project is not affiliated with the WireGuard or wg-dynamic projects.

MIT Licensed.

# Functions

Listen creates a net.Listener suitable for use with a Server and bound to the specified WireGuard interface.
NewClient creates a new Client bound to the specified WireGuard interface.

# Variables

Possible Error values.
Possible Error values.
Possible Error values.

# Structs

A Client can request IP address assignment using the wg-dynamic protocol.
An Error is a wg-dynamic protocol error.
RequestIP contains IP address requests or assignments, depending on whether the structure originated with a client or server.
A Server serves wg-dynamic protocol requests.