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/tsnet
Brad Fitzpatrick 4e91cf20a8 control/controlknobs, all: add plumbed Knobs type, not global variables
Previously two tsnet nodes in the same process couldn't have disjoint
sets of controlknob settings from control as both would overwrite each
other's global variables.

This plumbs a new controlknobs.Knobs type around everywhere and hangs
the knobs sent by control on that instead.

Updates #9351

Change-Id: I75338646d36813ed971b4ffad6f9a8b41ec91560
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
9 months ago
..
example client/web: add self node cache 9 months ago
example_tshello_test.go tsnet: add examples (#8289) 11 months ago
example_tsnet_test.go tsnet: add examples (#8289) 11 months ago
tsnet.go control/controlknobs, all: add plumbed Knobs type, not global variables 9 months ago
tsnet_test.go all: replace deprecated ioutil references 9 months ago