aboutsummaryrefslogtreecommitdiff
path: root/http_global.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-31 16:59:18 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-31 16:59:18 +0800
commit655b6b211ae6df0186abd740f248939f7ddeaec1 (patch)
treeec5cdbbc52222f62c8fbb0bcf2a1aa7a9f6eb8b6 /http_global.go
parentCorrect table headers in MR indices (diff)
downloadforge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.gz
forge-655b6b211ae6df0186abd740f248939f7ddeaec1.tar.zst
forge-655b6b211ae6df0186abd740f248939f7ddeaec1.zip
Add descriptive comments to most Go functions
Diffstat (limited to 'http_global.go')
-rw-r--r--http_global.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/http_global.go b/http_global.go
index 02892c9..6e236a7 100644
--- a/http_global.go
+++ b/http_global.go
@@ -3,7 +3,9 @@
package main
-// globalData is passed as "global" when rendering HTML templates.
+// globalData is passed as "global" when rendering HTML templates and contains
+// global data that should stay constant throughout an execution of Lindenii
+// Forge as no synchronization mechanism is provided for updating it.
var globalData = map[string]any{
"server_public_key_string": &serverPubkeyString,
"server_public_key_fingerprint": &serverPubkeyFP,