mirror of
https://github.com/hanzoai/status.git
synced 2026-11-02 12:31:57 +00:00
White-labelable status monitoring service with all Gatus branding removed. Defaults to neutral "Status" text. Branding is driven entirely by the ui section in config YAML. - Pure Go build (CGO_ENABLED=0, modernc.org/sqlite) - Multi-stage Dockerfile (node frontend + go backend + alpine runtime) - K8s kustomize overlays for hanzo and lux deployments - GitHub Actions CI for GHCR image push - Pre-built Vue frontend with zero upstream branding
12 lines
541 B
Go
12 lines
541 B
Go
package heartbeat
|
|
|
|
import "time"
|
|
|
|
// Config used to check if the external endpoint has received new results when it should have.
|
|
// This configuration is used to trigger alerts when an external endpoint has no new results for a defined period of time
|
|
type Config struct {
|
|
// Interval is the time interval at which Gatus verifies whether the external endpoint has received new results
|
|
// If no new result is received within the interval, the endpoint is marked as failed and alerts are triggered
|
|
Interval time.Duration `yaml:"interval"`
|
|
}
|