Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMAPLogger ¶
type IMAPLogger struct {
// contains filtered or unexported fields
}
func (*IMAPLogger) Printf ¶
func (l *IMAPLogger) Printf(format string, v ...interface{})
func (*IMAPLogger) Println ¶
func (l *IMAPLogger) Println(v ...interface{})
type Worker ¶
func (*Worker) CmdUpSync ¶
func (w *Worker) CmdUpSync(data common.UpsyncData)
func (*Worker) Sync ¶
Sync is the core of the Worker action. Iterating on each mailbox, it tries to align the remote imap folders with the local content, given some contraints. It follows this steps:
- Donwload the new messages (up to a maximum set amount)
- Check if the messages held locally have to be updated (some flags have been changed) or deleted
- Put the new messages in the new/ directory
- Update the filename of the files yet known or delete them altogether
Click to show internal directories.
Click to hide internal directories.