package
1.8.12
Repository: https://github.com/protonmail/proton-bridge.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

New creates or opens a store for the given `user`.
NewCache constructs a new cache at the given path.
RemoveStore removes the database file and clears the cache file.

# Constants

PathDelimiter for IMAP.
UserFoldersMailboxName for IMAP.
UserFoldersPrefix contains name with delimiter for IMAP.
UserLabelsMailboxName for IMAP.
UserLabelsPrefix contains name with delimiter for IMAP.

# Variables

ErrAllMailOpNotAllowed is error user when user tries to do unsupported operation on All Mail folder.
nolint[gochecknoglobals].
nolint[gochecknoglobals].
nolint[gochecknoglobals].

# Structs

Address holds mailboxes for IMAP user (login address).
AddressInfo is the format of the data held in the addresses bucket in the store.
Cache caches the last event IDs for all accounts (there should be only one instance).
Mailbox is mailbox for specific address and mailbox.
Message is wrapper around `pmapi.Message` with connection to a specific mailbox with helper functions to get IMAP UID, sequence numbers and similar.
Store is local user storage, which handles the synchronization between IMAP and PM API.

# Interfaces

BridgeUser is subset of bridge.User for use by the Store.
No description provided by the author
No description provided by the author