From 714caae680d46ffb65ef0a053f58682ed2abcebd Mon Sep 17 00:00:00 2001 From: Emile <hanemile@protonmail.com> Date: Mon, 7 Oct 2019 15:39:49 +0200 Subject: added a map mapping the users to their container ids --- src/http.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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() { -- cgit 1.4.1