MCPcopy
hub / github.com/knadh/listmonk / Messenger

Interface Messenger

internal/manager/manager.go:64–69  ·  view source on GitHub ↗

Messenger is an interface for a generic messaging backend, for instance, e-mail, SMS etc.

Source from the content-addressed store, hash-verified

62// Messenger is an interface for a generic messaging backend,
63// for instance, e-mail, SMS etc.
64type Messenger interface {
65 Name() string
66 Push(models.Message) error
67 Flush() error
68 Close() error
69}
70
71// CampStats contains campaign stats like per minute send rate.
72type CampStats struct {

Callers 21

ExtractZIPMethod · 0.65
AddMessengerMethod · 0.65
ImportSubscribersMethod · 0.65
GetServerConfigMethod · 0.65
mainFunction · 0.65
NotifyFunction · 0.65
workerMethod · 0.65
doForgotPasswordMethod · 0.65
TestSMTPSettingsMethod · 0.65
ExportSubscribersMethod · 0.65

Implementers 2

Emailerinternal/messenger/email/email.go
Postbackinternal/messenger/postback/postback.g

Calls

no outgoing calls

Tested by

no test coverage detected