package
Version:
v0.0.0-...-8922687
Opens a new window with list of versions in this module.
Published: Jun 8, 2023
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Daemon struct {
Queue chan Message
}
Daemon orchestrates processing and sending incoming messages
New spawns a new sender daemon to process all the incoming messages
Shutdown stops the processing of messages. Any unsent messages will be dropped.
const (
FormatPlain Format = "PLAIN"
FormatHTML Format = "HTML"
)
NewMatcher creates a new matcher for the provider with its associated queue
Enqueue adds the message to the provider's queue
Message represents an email to be sent to one or more recipients
Source Files
¶
Click to show internal directories.
Click to hide internal directories.