Versions in this module Expand all Collapse all v0 v0.1.0 Jan 23, 2025 Changes in this version + type CommandHealthChecker struct + func NewCommandHealthChecker(command string, interval time.Duration) *CommandHealthChecker + func (c *CommandHealthChecker) GetHealthCheckMessage(context.Context) (messageRows []string, rows int) + func (c *CommandHealthChecker) Start(ctx context.Context) + type HTTPHealthCheckData struct + Body string + Error string + StatusCode int + URL string + type HTTPHealthChecker struct + func NewHTTPHealthChecker(u, t string, interval time.Duration) (*HTTPHealthChecker, error) + func (c *HTTPHealthChecker) GetHealthCheckMessage(context.Context) (messageRows []string, rows int) + func (c *HTTPHealthChecker) Start(ctx context.Context) + type HealthChecker interface + GetHealthCheckMessage func(ctx context.Context) (messageRows []string, rows int) + Start func(ctx context.Context) + func HealthCheckFactory(cfg config.StatusCheckConfig) (HealthChecker, error)