tailscale/tsnet
Sonia Appasamy 191e2ce719 client/web: add ServerMode to web.Server
Adds a new Mode to the web server, indicating the specific
scenario the constructed server is intended to be run in. Also
starts filling this from the cli/web and ipn/ipnlocal callers.

From cli/web this gets filled conditionally based on whether the
preview web client node cap is set. If not set, the existing
"legacy" client is served. If set, both a login/lobby and full
management client are started (in "login" and "manage" modes
respectively).

Updates tailscale/corp#14335

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
2023-11-02 17:20:05 -04:00
..
example client/web: add ServerMode to web.Server 2023-11-02 17:20:05 -04:00
example_tshello_test.go tsnet: add examples (#8289) 2023-07-19 12:36:49 -04:00
example_tsnet_test.go tsnet: add examples (#8289) 2023-07-19 12:36:49 -04:00
tsnet_test.go tsnet: enable use-cases with non-native IPs by setting ns.ProcessSubnets 2023-10-30 12:25:27 -06:00
tsnet.go tsnet: enable use-cases with non-native IPs by setting ns.ProcessSubnets 2023-10-30 12:25:27 -06:00