Skip to content

🔭 Netstat helps you query open network connections in your go application.

License

Notifications You must be signed in to change notification settings

bastjan/netstat

Repository files navigation

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.

About

🔭 Netstat helps you query open network connections in your go application.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages