Checker is the interface that must be implemented by a healthcheck.
| 73 | |
| 74 | // Checker is the interface that must be implemented by a healthcheck. |
| 75 | type Checker interface { |
| 76 | Check(timeout time.Duration) *Result |
| 77 | String() string |
| 78 | } |
| 79 | |
| 80 | // Target specifies the target for a healthcheck. |
| 81 | type Target struct { |
no outgoing calls
no test coverage detected