diff options
| author | Fuwn <[email protected]> | 2026-01-20 05:06:51 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-20 05:06:51 -0800 |
| commit | 77cb8b493e25b29c8d79f123c197c34714645a1f (patch) | |
| tree | 3e72caf99f44268e0e523872bf82fe48faaa9193 /internal/config/config.go | |
| parent | refactor: Use CSS prefers-color-scheme instead of JS-based theme toggle (diff) | |
| download | kaze-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.go | 1 |
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 |