MCPcopy
hub / github.com/google/seesaw / complete

Function complete

healthcheck/core.go:148–152  ·  view source on GitHub ↗

complete returns a Result for a completed healthcheck.

(start time.Time, msg string, success bool, err error)

Source from the content-addressed store, hash-verified

146
147// complete returns a Result for a completed healthcheck.
148func complete(start time.Time, msg string, success bool, err error) *Result {
149 // TODO(jsing): Make this clock skew safe.
150 duration := time.Since(start)
151 return &Result{msg, success, duration, err}
152}
153
154// Notification stores a status notification for a healthcheck.
155type Notification struct {

Callers 7

CheckMethod · 0.85
CheckMethod · 0.85
CheckMethod · 0.85
CheckMethod · 0.85
CheckMethod · 0.85
healthcheckMethod · 0.85
CheckMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected