Documentation ¶
Overview ¶
The portlist package contains code that checks what ports are open and listening on the current machine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PollInterval ¶ added in v1.44.0
PollInterval is the recommended OS-specific interval to wait between *Poller.Poll method calls.
Types ¶
type Poller ¶
type Poller struct { // IncludeLocalhost controls whether services bound to localhost are included. // // This field should only be changed before calling Run. IncludeLocalhost bool // contains filtered or unexported fields }
Poller scans the systems for listening ports periodically and sends the results to C.
Click to show internal directories.
Click to hide internal directories.