tailscale/portlist
Marwan Sulaiman 5dd0b02133 portlist: add a synchronous Poll method
This is a follow up on PR #8172 that adds a synchronous Poll method
which allows for the Poller to be used as a zero value without needing
the constructor. The local backend is also changed to use the new API.
A follow up PR will remove the async functionality from the portlist package.

Updates #8171

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
2023-06-05 23:10:42 -04:00
..
clean_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
clean.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netstat_test.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
netstat.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
poller.go portlist: add a synchronous Poll method 2023-06-05 23:10:42 -04:00
portlist_linux_test.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
portlist_linux.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
portlist_macos.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
portlist_test.go portlist: add a synchronous Poll method 2023-06-05 23:10:42 -04:00
portlist_windows.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
portlist.go portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00