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

# Functions

AttachmentContent returns an Option that adds an attachment filter to a Query.
AttachmentContentType returns an Option that adds an attachment filter to a Query.
AttachmentFilename returns an Option that adds an attachment filter to a Query.
AttachmentSize returns an Option that add an attachment filter to a Query.
AttachmentSizeRange returns an Option that adds an attachment filter to a Query.
BCC returns an Option that adds a `Bcc` filter to a Query.
CC returns an Option that adds a `Cc` filter to a Query.
From returns an Option that adds a `From` filter to a Query.
Input returns an Option that sets the search input for a Query.
New builds a Query using the provided opts.
Paginate returns an Option that configures the Pagination of a Query.
Recipient returns an Option that adds a `Recipient` filter to a Query.
SentAfter returns an Option that filters mails by their send time.
SentAt returns an Option that filters mails by their send time.
SentBefore returns an Option that filters mails by their send time.
SentBetween returns an Option that filters mails by their send time.
Sort returns an Option that configures the Sorting of a Query.
Subject returns an Option that adds a `Subject` filter to a Query.
To returns an Option that adds a `To` filter to a Query.

# Constants

SortAny is the default Sorting and sorts with an undefined / unpredictable behavior.
SortAsc sorts in ascending order.
SortDesc sorts in descending order.
SortSendTime sorts mails by their send time.
SortSubject sorts mails by their subject.

# Structs

AttachmentFilter is the query filter for attachments.
AttachmentSizeFilter is the query filter for attachment file sizes.
Pagination is a pagination option.
Query provides filters, sorting & pagination for querying mails.
SendTimeFilter is the query filter for the send date.

# Type aliases

Option is a Query option.
SortDirection is a sorting direction.
Sorting is a sorting.