Documentation ¶
Index ¶
Constants ¶
View Source
const (
LISTEN = 1024
)
Variables ¶
This section is empty.
Functions ¶
func GetListeningPorts ¶
func GetListeningPorts(ctx context.Context) (map[int]ProcessSockets, error)
func GetProcessSockets ¶
func GetSocketInodesFor ¶
Types ¶
type ProcessSockets ¶
func (*ProcessSockets) Ports ¶
func (p *ProcessSockets) Ports() []uint16
Click to show internal directories.
Click to hide internal directories.