commit e2cace7fed7b46be01306cd0b4e94093b0bdcec2
parent 02a1a10065dd3be4f89f30756adc670b1a8ab468
Author: Oliver Lowe <o@olowe.co>
Date: Tue, 18 Jan 2022 22:41:00 +1100
Document checker Check() methods
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/checker.go b/checker.go
@@ -30,10 +30,12 @@ func (st StateType) String() string {
return "unsupported state type"
}
+// Check reschedules the check for s via the provided Client.
func (s Service) Check(c *Client) error {
return c.check(s)
}
+// Check reschedules the check for h via the provided Client.
func (h Host) Check(c *Client) error {
return c.check(h)
}