Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/d1nfinite/gons

simple and graceful golang netstat library
https://github.com/d1nfinite/gons

Last synced: about 1 month ago
JSON representation

simple and graceful golang netstat library

Awesome Lists containing this project

README

        

# gons
go netstat library

## Install
```bash
go get github.com/d1nfinite/gons@latest
```

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

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