Documentation
¶
Overview ¶
Package portlist provides functionality to fetch open ports in the current machine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(cfg *config)
Option is used to configure the Poller.
func WithIncludeLocalhost ¶
WithIncludeLocalhost allows to include/exclude localhost ports (false by default).
func WithProcMountPoint ¶
WithProcMountPoint allows to change the proc filesystem mount point (this is used mainly in tests).
Click to show internal directories.
Click to hide internal directories.