diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-31 16:59:18 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-31 16:59:18 +0800 |
commit | 655b6b211ae6df0186abd740f248939f7ddeaec1 (patch) | |
tree | ec5cdbbc52222f62c8fbb0bcf2a1aa7a9f6eb8b6 /http_global.go | |
parent | Correct table headers in MR indices (diff) | |
download | forge-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.go | 4 |
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, |