aboutsummaryrefslogtreecommitdiff
path: root/scan_report.go
diff options
context:
space:
mode:
Diffstat (limited to 'scan_report.go')
-rw-r--r--scan_report.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/scan_report.go b/scan_report.go
new file mode 100644
index 0000000..16034de
--- /dev/null
+++ b/scan_report.go
@@ -0,0 +1,18 @@
+// SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info>
+// SPDX-License-Identifier: GPL-3.0-only
+
+package lilin
+
+import "time"
+
+// ScanReport contains the result of scanning service.
+type ScanReport struct {
+ // The time when the scan started.
+ At time.Time
+
+ // The error message when scanned failed.
+ Error string
+
+ // Success is true if service available.
+ Success bool
+}