Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.22 KB

netstat for go

GoDoc CI Status Coverage Status Go Report Card

Package netstat helps you query open network connections.

Getting Started

import "github.com/bastjan/netstat"

// Query open tcp sockets
netstat.TCP.Connections()

// Query open udp sockets for ipv6 connections
netstat.UDP6.Connections()

See netstat_tulpen.go for a more throughout example.

Development Status: Stable

This library is v1 and follows SemVer.

No breaking changes will be made to exported APIs before v2.0.0.

Support for Mac OS and *BSD

There is currently no support planned for MacOS or *BSD without procfs support.