aboutsummaryrefslogtreecommitdiff
path: root/worker.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-22 14:00:27 +0700
committerShulhan <ms@kilabit.info>2026-01-22 14:07:20 +0700
commitb20dc5c85b418b7167b3fb7866c7ea9a9fa0a705 (patch)
tree9305a5da1d82df61c342d12b7f3c47ab2e8a3b2e /worker.go
parentdcf27b411a29f29a0afff161fec8e0364e1cce2c (diff)
downloadlilin-b20dc5c85b418b7167b3fb7866c7ea9a9fa0a705.tar.xz
all: add option to set custom Title on server configuration
The title will be displayed for window title and as the heading in the status page. While at it, remove the status column on the Down History section, since the value is static.
Diffstat (limited to 'worker.go')
-rw-r--r--worker.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/worker.go b/worker.go
index b39b047..b5b8e97 100644
--- a/worker.go
+++ b/worker.go
@@ -55,6 +55,7 @@ func newWorker(cfg ServerConfig) (wrk *worker, err error) {
}
wrk.Reports = Reports{
+ Title: cfg.Title,
Services: make(map[string]*ServiceReport, len(wrk.Services)),
}
for id := range wrk.Services {