MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / RequiresCheck

Method RequiresCheck

api/pkg/entities/heartbeat_monitor.go:22–24  ·  view source on GitHub ↗

RequiresCheck returns true if the heartbeat monitor requires a check

()

Source from the content-addressed store, hash-verified

20
21// RequiresCheck returns true if the heartbeat monitor requires a check
22func (h *HeartbeatMonitor) RequiresCheck() bool {
23 return h.UpdatedAt.Add(2 * time.Hour).Before(time.Now())
24}
25
26// PhoneIsOffline returns true if the phone is offline
27func (h *HeartbeatMonitor) PhoneIsOffline() bool {

Callers 1

phoneMonitorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected