You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
clean.go all: update copyright and license headers 3 years ago
clean_test.go all: update copyright and license headers 3 years ago
netstat.go portlist: add Poller.IncludeLocalhost option 3 years ago
netstat_test.go portlist: add Poller.IncludeLocalhost option 3 years ago
poller.go portlist: add a synchronous Poll method 3 years ago
portlist.go portlist: add Poller.IncludeLocalhost option 3 years ago
portlist_linux.go portlist: add Poller.IncludeLocalhost option 3 years ago
portlist_linux_test.go portlist: add Poller.IncludeLocalhost option 3 years ago
portlist_macos.go portlist: add Poller.IncludeLocalhost option 3 years ago
portlist_test.go portlist: add a synchronous Poll method 3 years ago
portlist_windows.go portlist: add Poller.IncludeLocalhost option 3 years ago