MCPcopy
hub / github.com/kopia/kopia / Send

Method Send

notification/sender/sender.go:17–17  ·  view source on GitHub ↗
(ctx context.Context, msg *Message)

Source from the content-addressed store, hash-verified

15// Provider is an interface implemented by all notification providers.
16type Provider interface {
17 Send(ctx context.Context, msg *Message) error
18
19 // Format returns the format of the message body that the provider supports, either "html" or "md", some providers will support both.
20 Format() string

Callers 13

SendToFunction · 0.65
TestEmailProviderFunction · 0.65
TestEmailProvider_TextFunction · 0.65
TestEmailProvider_AUTHFunction · 0.65
TestPushoverFunction · 0.65
TestJSONSenderFunction · 0.65
TestProviderFunction · 0.65
TestWebhookFunction · 0.65
TestWebhook_FailureFunction · 0.65
sendMethod · 0.65

Calls

no outgoing calls

Tested by 10

TestEmailProviderFunction · 0.52
TestEmailProvider_TextFunction · 0.52
TestEmailProvider_AUTHFunction · 0.52
TestPushoverFunction · 0.52
TestJSONSenderFunction · 0.52
TestProviderFunction · 0.52
TestWebhookFunction · 0.52
TestWebhook_FailureFunction · 0.52