package
0.16.1
Repository: https://github.com/bounoable/postdog.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package mock_archive is a generated GoMock package.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ExpandMail takes a postdog.Mail and builds a Mail from it.
InsertTimeout returns an Option that sets the timeout for inserts.
MailIDFromContext returns the mail UUID from the given Context, or uuid.Nil if the Context has no mail UUID.
New creates the archive plugin.
WithLogger returns an Option that sets the error logger.
WithMailID returns a new Context that carries the given UUID.

# Variables

ErrNotFound means a mail could not be found in the Store.

# Structs

Mail is the archived form of a sent mail, containing the send time and send error of the mail.

# Interfaces

Cursor is a cursor archived Mails.
Printer is the logger interface.
Store is the underlying store for the Mails.

# Type aliases

Option is an archive option.