ipn: add WebServerConfig, add views

cmd/viewer couldn't deal with that map-of-map. Add a wrapper type
instead, which also gives us a place to add future stuff.

Updates tailscale/corp#7515

Change-Id: I44a4ca1915300ea8678e5b0385056f0642ccb155
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2022-11-09 06:10:06 -08:00
committed by Brad Fitzpatrick
parent 79472a4a6e
commit df5e40f731
6 changed files with 330 additions and 6 deletions

View File

@ -27,8 +27,6 @@ import (
"tailscale.com/util/dnsname"
)
//go:generate go run tailscale.com/cmd/viewer -type=Prefs
// DefaultControlURL is the URL base of the control plane
// ("coordination server") for use when no explicit one is configured.
// The default control plane is the hosted version run by Tailscale.com.