MCPcopy
hub / github.com/sourcegraph/checkup / Notifier

Interface Notifier

interfaces.go:39–42  ·  view source on GitHub ↗

Notifier can notify ops or sysadmins of potential problems. A Notifier should keep state to avoid sending repeated notices more often than the admin would like.

Source from the content-addressed store, hash-verified

37// state to avoid sending repeated notices
38// more often than the admin would like.
39type Notifier interface {
40 Type() string
41 Notify([]types.Result) error
42}
43
44// Provisioner is a type of storage mechanism that can
45// provision itself for use with checkup. Provisioning

Callers 2

CheckMethod · 0.65
NotifyMethod · 0.95

Implementers 3

fakecheckup_test.go
Notifiernotifier/slack/slack.go
Notifiernotifier/mail/mail.go

Calls

no outgoing calls

Tested by

no test coverage detected