aboutsummaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 05:06:51 -0800
committerFuwn <[email protected]>2026-01-20 05:06:51 -0800
commit77cb8b493e25b29c8d79f123c197c34714645a1f (patch)
tree3e72caf99f44268e0e523872bf82fe48faaa9193 /internal/config/config.go
parentrefactor: Use CSS prefers-color-scheme instead of JS-based theme toggle (diff)
downloadkaze-77cb8b493e25b29c8d79f123c197c34714645a1f.tar.xz
kaze-77cb8b493e25b29c8d79f123c197c34714645a1f.zip
feat: Add clickable link option for monitor names
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index dfd403a..7bad5f9 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -77,6 +77,7 @@ type MonitorConfig struct {
Name string `yaml:"name"`
Type string `yaml:"type"` // http, https, tcp, gemini
Target string `yaml:"target"`
+ Link string `yaml:"link,omitempty"` // Custom URL for clicking the monitor name (e.g., docs page)
Interval Duration `yaml:"interval"`
Timeout Duration `yaml:"timeout"`
Retries int `yaml:"retries,omitempty"` // Number of retry attempts before marking as down