aboutsummaryrefslogtreecommitdiff
path: root/reports.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-07-31 20:00:28 +0700
committerShulhan <ms@kilabit.info>2025-07-31 20:00:28 +0700
commitbec99d46d65c451f18000a7247d3df06765a3894 (patch)
treead1d073ac7bcc2fc5d76c5c550c672f2a4552302 /reports.go
parent9998582575aa02dbd2206497953f207af1f117d2 (diff)
downloadlilin-bec99d46d65c451f18000a7247d3df06765a3894.tar.xz
all: implement worker start and stop
The start method run all the services scanner in the background and consume the report from it from channel. Each time new report coming it will notify the Server to update the index page body.
Diffstat (limited to 'reports.go')
-rw-r--r--reports.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reports.go b/reports.go
index 1ffbd43..91ff2df 100644
--- a/reports.go
+++ b/reports.go
@@ -5,6 +5,6 @@ package lilin
// Reports contains the report for all services.
type Reports struct {
- Services map[string]ServiceReport
+ Services map[string]*ServiceReport
Title string
}