Skip to content

d1nfinite/gons

Repository files navigation

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)
}

About

simple and graceful golang netstat library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages