Registry / networking / sagernet-sing-tun

sagernet-sing-tun

JSON →
library0.8.9gogounverified

Package tun provides TUN device management and network tunneling utilities for Go.

go get github.com/sagernet/sing-tun
INSTALL
IMPORT
SIG · SAGERNET-SING-TUN
S
sagernet-sing-tun
networkinggov0.8.9
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.

singtun
github.com/sagernet/sing-tun

Create a TUN interface with specified options.

package main import ( "github.com/sagernet/sing-tun" ) func main() { options := singtun.Options{ Name: "tun0", MTU: 1500, } iface, err := singtun.CreateTUN(options) if err != nil { panic(err) } defer iface.Close() }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
sagernet-sing-tun — go get sagernet-sing-tun · libregistry