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/ipn/localapi
M. J. Fromberger 418e19fb5e portmapper: update NewClient to use a Config argument
In preparation for adding more parameters (and later, moving some away), rework
the portmapper constructor to accept its arguments on a Config struct rather
than positionally.

This is a breaking change to the function signature, but one that is very easy
to update, and a search of GitHub reveals only six instances of usage outside
clones and forks of Tailscale itself, that are not direct copies of the code
fixed up here.

While we could stub in another constructor, I think it is safe to let those
folks do the update in-place, since their usage is already affected by other
changes we can't test for anyway.

Updates #15160

Change-Id: I9f8a5e12b38885074c98894b7376039261b43f43
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
8 months ago
..
cert.go cmd/tailscale: add --min-validity flag to the cert command (#12822) 1 year ago
debugderp.go derp/derphttp,ipn/localapi,net/captivedetection: add cache resistance to captive portal detection 11 months ago
disabled_stubs.go all: update copyright and license headers 3 years ago
localapi.go portmapper: update NewClient to use a Config argument 8 months ago
localapi_test.go all: construct new System values with an event bus pre-populated 8 months ago
pprof.go all: update copyright and license headers 3 years ago