Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Poller ¶
type Poller struct { // C received the list of ports periodically. It's closed when // Run completes, after which Err can be checked. C <-chan List // Err is the error from the final GetList call. It is only // valid to read once C has been closed. Err is nil if Close // is called or the context is canceled. Err error // 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.