Registry / networking / anacrolix-upnp

anacrolix-upnp

JSON →
library0.1.4gogounverified

Package upnp implements UPnP InternetGatewayDevice discovery, querying, and port mapping.

go get github.com/anacrolix/upnp
INSTALL
IMPORT
SIG · ANACROLIX-UPNP
A
anacrolix-upnp
networkinggov0.1.4
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.

upnp
github.com/anacrolix/upnp

Discovers the default UPnP gateway and prints its IP address.

package main import ( "fmt" "github.com/anacrolix/upnp" ) func main() { igd, err := upnp.DefaultGateway() if err != nil { panic(err) } fmt.Printf("Gateway IP: %s\n", igd.GatewayIP) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
47 hits · last 30 days
node
42
Meta
1
OpenAI (training)
1
Resources
anacrolix-upnp — go get anacrolix-upnp · libregistry