Registry / networking / metacubex-sing-tun

metacubex-sing-tun

JSON →
library0.4.20gogounverified

A Go library for creating TUN interfaces and handling network traffic.

go get github.com/metacubex/sing-tun
INSTALL
IMPORT
SIG · METACUBEX-SING-TUN
M
metacubex-sing-tun
networkinggov0.4.20
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.

tun
github.com/metacubex/sing-tun

Create a TUN interface.

package main import ( "github.com/metacubex/sing-tun" "log" ) func main() { iface, err := tun.CreateTUN("tun0", 1500) if err != nil { log.Fatal(err) } log.Printf("TUN interface created: %v", iface.Name()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
metacubex-sing-tun — go get metacubex-sing-tun · libregistry