MCPcopy
hub / github.com/unkeyed/unkey / Heartbeat

Interface Heartbeat

pkg/healthcheck/heartbeat.go:6–10  ·  view source on GitHub ↗

Heartbeat sends push-based health signals to monitoring services.

Source from the content-addressed store, hash-verified

4
5// Heartbeat sends push-based health signals to monitoring services.
6type Heartbeat interface {
7 // Ping sends a heartbeat signal indicating successful task completion.
8 // Returns an error if the heartbeat could not be sent.
9 Ping(ctx context.Context) error
10}

Callers 7

getClientFunction · 0.65
ClickHouseFunction · 0.65
RunCheckMethod · 0.65
RunSyncMethod · 0.65
RunRefillMethod · 0.65
RunExportMethod · 0.65

Implementers 4

Nooppkg/healthcheck/noop.go
ChecklyHeartbeatpkg/healthcheck/checkly.go
Clientpkg/clickhouse/client.go
nooppkg/clickhouse/noop.go

Calls

no outgoing calls

Tested by

no test coverage detected