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

# Packages

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

# Functions

New creates or opens a store for the given `user`.
NewEvents constructs a new event cache at the given path.
RemoveStore removes the database file and clears the cache file.
No description provided by the author

# 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.
Events 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.
No description provided by the author
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
No description provided by the author