tailscale/portlist
Brad Fitzpatrick def089f9c9 portlist: unexport all Poller fields, removing unused one, rework channels
Poller.C and Poller.c were duplicated for one caller. Add an accessor
returning the receive-only version instead. It'll inline.

Poller.Err was unused. Remove.

Then Poller is opaque.

The channel usage and shutdown was a bit sketchy. Clean it up.

And document some things.

Change-Id: I5669e54f51a6a13492cf5485c83133bda7ea3ce9
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-10-22 05:47:34 -07:00
..
clean_test.go portlist: normalise space delimited process names (#5634) 2022-09-15 12:17:31 +02:00
clean.go portlist: normalise space delimited process names (#5634) 2022-09-15 12:17:31 +02:00
netstat_exec.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
netstat_test.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
netstat.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
poller.go portlist: unexport all Poller fields, removing unused one, rework channels 2022-10-22 05:47:34 -07:00
portlist_ios.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
portlist_js.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
portlist_linux_test.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
portlist_linux.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
portlist_macos.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
portlist_other.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
portlist_test.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
portlist_windows.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00
portlist.go portlist: update some internals to use append-style APIs 2022-10-21 22:26:37 -07:00