cache

package
v0.0.0-...-488c5b3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 6 Imported by: 0

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 (m *MessageCache) Unlink() error

Unlink deletes the message cache from disk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL