Registry / networking / rakelkar-gonetsh

rakelkar-gonetsh

JSON →
library0.3.2gogounverified

A Go library for managing Windows network interfaces via netsh commands.

go get github.com/rakelkar/gonetsh
INSTALL
IMPORT
SIG · RAKELKAR-GONETSH
R
rakelkar-gonetsh
networkinggov0.3.2
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.

gonetsh
github.com/rakelkar/gonetsh

Lists all network interfaces on a Windows system.

package main import ( "fmt" "github.com/rakelkar/gonetsh" ) func main() { // List all network interfaces interfaces, err := gonetsh.ListInterfaces() if err != nil { fmt.Println("Error:", err) return } for _, iface := range interfaces { fmt.Println(iface.Name) } }
Debug
Known issues
gotchaWindows-only library
fix
Ensure your code only runs on Windows or use build tags.
affects: all
Upgrade
Version history
0.3.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rakelkar-gonetsh — go get rakelkar-gonetsh · libregistry