From 655b6b211ae6df0186abd740f248939f7ddeaec1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 16:59:18 +0800 Subject: Add descriptive comments to most Go functions --- http_global.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'http_global.go') 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, -- cgit v1.2.3