package system import "github.com/shirou/gopsutil/net" func GetNetWorkConnection() []net.ConnectionStat { info, _ := net.Connections("all") return info }