Registry / networking / sagernet-wireguard-go

sagernet-wireguard-go

JSON →
library0.0.20201121gogounverified

A Go implementation of WireGuard, a secure network tunnel protocol.

go get github.com/sagernet/wireguard-go
INSTALL
IMPORT
SIG · SAGERNET-WIREGUARD
S
sagernet-wireguard-go
networkinggov0.0.20201121
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
github.com/sagernet/wireguard-go

Print the default WireGuard MTU value.

package main import ( "fmt" "github.com/sagernet/wireguard-go/wgcfg" ) func main() { fmt.Println(wgcfg.DefaultMTU) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources
sagernet-wireguard-go — go get sagernet-wireguard-go · libregistry