Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageCache ¶
type MessageCache []lib.ParsedMessage
MessageCache represents the email messages for which a send has been attempted and either failed to a queue or partially sent.
func LoadMessageCache ¶
func LoadMessageCache() (MessageCache, error)
LoadMessageCache attempts to load in-flight messages from their canonical disk location.
func (*MessageCache) Save ¶
func (m *MessageCache) Save() error
Save seralizes the MessageCache to a canonical disk location.
func (*MessageCache) Unlink ¶
func (m *MessageCache) Unlink() error
Unlink deletes the message cache from disk
Click to show internal directories.
Click to hide internal directories.