Registry / networking / cakturk-go-netstat

cakturk-go-netstat

JSON →
library0.0.0-20200220111822-e5b49efee7a5gogounverified

Package go-netstat provides a Go implementation of netstat for inspecting network connections.

go get github.com/cakturk/go-netstat
INSTALL
IMPORT
SIG · CAKTURK-GO-NETSTAT
C
cakturk-go-netstat
networkinggov0.0.0-20200220111822-e5b49efee7a5
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.

netstat
github.com/cakturk/go-netstat

Lists all TCP connections.

package main import ( "fmt" "github.com/cakturk/go-netstat" ) func main() { socks, err := netstat.TCPSocks(netstat.NoopFilter) if err != nil { panic(err) } for _, s := range socks { fmt.Println(s.LocalAddr, s.RemoteAddr) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200220111822-e5b49efee7a5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
cakturk-go-netstat — go get cakturk-go-netstat · libregistry