summaryrefslogtreecommitdiffhomepage
path: root/ipn/serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'ipn/serve.go')
-rw-r--r--ipn/serve.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipn/serve.go b/ipn/serve.go
index 11df99726..a3c708ed9 100644
--- a/ipn/serve.go
+++ b/ipn/serve.go
@@ -37,6 +37,11 @@ type ServeConfig struct {
// AllowFunnel is the set of SNI:port values for which funnel
// traffic is allowed, from trusted ingress peers.
AllowFunnel map[HostPort]bool `json:",omitempty"`
+
+ // Foreground is a map of an IPN Bus session id to a
+ // foreground serve config. Note that only TCP and Web
+ // are used inside the Foreground map.
+ Foreground map[string]*ServeConfig `json:",omitempty"`
}
// HostPort is an SNI name and port number, joined by a colon.