aboutsummaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 05:35:34 -0800
committerFuwn <[email protected]>2026-01-20 05:35:34 -0800
commitc889e599b2c27e2966a5b46817d7fa3f397bcd74 (patch)
treefb107570f7defc8dba0dd8f3eea09e3db15af5bb /internal/config/config.go
parentfix: Add database type to config validation (diff)
downloadkaze-c889e599b2c27e2966a5b46817d7fa3f397bcd74.tar.xz
kaze-c889e599b2c27e2966a5b46817d7fa3f397bcd74.zip
feat: Add hide_ping option to hide response time
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 9cc9eac..b819d8f 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -88,6 +88,7 @@ type MonitorConfig struct {
ExpectedContent string `yaml:"expected_content,omitempty"` // Expected text in response body
VerifySSL *bool `yaml:"verify_ssl,omitempty"`
HideSSLDays bool `yaml:"hide_ssl_days,omitempty"` // Hide SSL days left from display
+ HidePing bool `yaml:"hide_ping,omitempty"` // Hide response time from display
RoundResponseTime bool `yaml:"round_response_time,omitempty"` // Round response time to nearest second
RoundUptime bool `yaml:"round_uptime,omitempty"` // Round uptime percentage (e.g., 99.99% → 100%)
DisablePingTooltips bool `yaml:"disable_ping_tooltips,omitempty"` // Disable hover tooltips on ping history bars