Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 228 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 228 Bytes

gons

go netstat library

Install

go get github.com/d1nfinite/gons@latest

Usage

sockets, err := Sockets()
if err != nil {
    t.Fatal(err)
}

for _, s := range sockets {
    fmt.Printf("%+v\n", s)
}