Registry / networking / wireguard

wireguard

JSON →
library0.0.20201119gogounverified

A Go implementation of the WireGuard secure network tunnel protocol.

go get golang.zx2c4.com/wireguard
INSTALL
IMPORT
SIG · WIREGUARD
W
wireguard
networkinggov0.0.20201119
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

wireguard
golang.zx2c4.com/wireguard

List WireGuard devices using wgctrl.

package main import ( "fmt" "golang.zx2c4.com/wireguard/wgctrl" ) func main() { client, err := wgctrl.New() if err != nil { panic(err) } devices, _ := client.Devices() fmt.Printf("WireGuard devices: %+v\n", devices) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.20201119latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
wireguard — go get wireguard · libregistry