文件名称:go-netstat:用Go编写的netstat实现
文件大小:9KB
文件格式:ZIP
更新时间:2024-05-30 06:28:32
windows linux golang socket tcp
用法: Usage of ./go-netstat: -4 display only IPv4 sockets -6 display only IPv6 sockets -all display both listening and non-listening sockets -help display this help screen -lis display only listening sockets -res lookup symbolic names for host addresses -tcp display TCP sockets -udp display UDP sockets 安装: $ go get github.com/cakturk/go-netsta
【文件预览】:
go-netstat-master
----go.mod(46B)
----main.go(3KB)
----netstat()
--------netstat_linux.go(6KB)
--------netstat_windows.go(13KB)
--------netstat.go(2KB)
----LICENSE(1KB)
----README.md(1KB)