gmail

package
v0.0.0-...-90e9758 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NONE         = iota
	ADD          = iota
	DELETE       = iota
	WRITE_LABELS = iota
)

Variables

View Source
var (

	// Parallelism.
	MessageBufferSize   = 128
	ConcurrentDownloads = 8
)

Functions

This section is empty.

Types

type Gmail

type Gmail struct {
	// contains filtered or unexported fields
}

Gmail represents a Gmail client.

func NewGmail

func NewGmail(dir string, label string) (*Gmail, error)

Creates a new Gmail synchronizer.

func (*Gmail) Sync

func (g *Gmail) Sync(full bool, progress chan<- lib.Progress) error

func (*Gmail) SyncNotmuch

func (g *Gmail) SyncNotmuch() error

Jump to

Keyboard shortcuts

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