aboutsummaryrefslogtreecommitdiff
path: root/internal/monitor/monitor.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/monitor/monitor.go')
-rw-r--r--internal/monitor/monitor.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/monitor/monitor.go b/internal/monitor/monitor.go
index cbf01b3..f4a6f66 100644
--- a/internal/monitor/monitor.go
+++ b/internal/monitor/monitor.go
@@ -52,6 +52,9 @@ type Monitor interface {
// RoundResponseTime returns whether to round response time
RoundResponseTime() bool
+ // RoundUptime returns whether to round uptime percentage
+ RoundUptime() bool
+
// Check performs the monitoring check and returns the result
Check(ctx context.Context) *Result
}