Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SocketFunctions []SocketFunction = []SocketFunction{ { // contains filtered or unexported fields }, { // contains filtered or unexported fields }, { // contains filtered or unexported fields }, { // contains filtered or unexported fields }, }
View Source
var Socks []netstat.SockTabEntry = []netstat.SockTabEntry{}
Functions ¶
func GetSocks ¶
func GetSocks() []netstat.SockTabEntry
GetSocks returns all type socket`s port information
Types ¶
type ByPort ¶
type ByPort []netstat.SockTabEntry
type Socket ¶
func FilterSocks ¶
FilterSocks filters sockets by start and end ports
func Format ¶
func Format(socks []netstat.SockTabEntry) []Socket
Format formats netstat type to UI type
type SocketFunction ¶
type SocketFunction struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.