feat: stable version
Co-authored-by: Dmitry Fedotov <dmitry@uint32.ru> Co-committed-by: Dmitry Fedotov <dmitry@uint32.ru>
This commit is contained in:
@@ -24,7 +24,9 @@ func (s Status) String() string {
|
||||
}
|
||||
}
|
||||
|
||||
// CheckFunc is a function run by Watchdog.
|
||||
// CheckFunc is a function that does the actual work.
|
||||
// This package provides a number of check functions but
|
||||
// any function matching the signature may be provided.
|
||||
// It must obey context dealine and cancellation.
|
||||
type CheckFunc func(context.Context) (Status, error)
|
||||
|
||||
|
Reference in New Issue
Block a user