app

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionShow

func ActionShow(ctx context.Context, c *cli.Command) error

ActionShow displays information about mailboxes in source and destination IMAP accounts.

func ActionSync

func ActionSync(ctx context.Context, c *cli.Command) error

ActionSync copies messages between IMAP servers according to the provided configuration.

Types

type FolderSyncPlan

type FolderSyncPlan struct {
	SourceFolder            string
	DestinationFolder       string
	DestinationFolderExists bool
	NewMessages             int
	MessagesToSync          []*imap.Message
}

FolderSyncPlan describes how a single source folder should be copied to its destination.

type SyncSummary

type SyncSummary struct {
	TotalNew int
	Plans    []FolderSyncPlan
}

SyncSummary aggregates the per-folder plans along with total message counts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL