about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-07 15:39:49 +0200
committerEmile <hanemile@protonmail.com>2019-10-07 15:39:49 +0200
commit714caae680d46ffb65ef0a053f58682ed2abcebd (patch)
tree340b513d4f92ac8a7b4778680c53956d5235f126 /src
parente67df19dfa7ffa652cd0029b19cb7ef382c3f4d7 (diff)
added a map mapping the users to their container ids
Diffstat (limited to 'src')
-rw-r--r--src/http.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http.go b/src/http.go
index 3032378..1b5db1a 100644
--- a/src/http.go
+++ b/src/http.go
@@ -14,6 +14,9 @@ import (
 var (
 	port      *int     // port the http server listens on
 	usernames []string // list of usernames
+	// map usernames to their companion containers
+	// the companion containers get assigned a random string used to identify itself
+	companion map[string]string
 )
 
 func registerHTTPFlags() {