aboutsummaryrefslogtreecommitdiff
path: root/reports.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-07-31 00:27:20 +0700
committerShulhan <ms@kilabit.info>2025-07-31 00:27:20 +0700
commitb6fec02b55a4227b6ecb47c2bc40a5a025af2b8a (patch)
tree36956ce1c9c51027f6af3982c3c6add0cc596f80 /reports.go
parent0537c5e094c7b6e5ff376ccdf0dba80adf5c4342 (diff)
downloadlilin-b6fec02b55a4227b6ecb47c2bc40a5a025af2b8a.tar.xz
all: refactoring web page to render using template
Instead of using HTML and JavaScript, generate the web page using template. This minimize number of works we do in the future (creating client in JavaScript and HTTP APIs).
Diffstat (limited to 'reports.go')
-rw-r--r--reports.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/reports.go b/reports.go
new file mode 100644
index 0000000..1ffbd43
--- /dev/null
+++ b/reports.go
@@ -0,0 +1,10 @@
+// SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info>
+// SPDX-License-Identifier: GPL-3.0-only
+
+package lilin
+
+// Reports contains the report for all services.
+type Reports struct {
+ Services map[string]ServiceReport
+ Title string
+}