Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "unknown" BuildDate = "unknown" )
Version information - set via ldflags at build time
Functions ¶
Types ¶
type CLIDeletionProgress ¶
type CLIDeletionProgress struct {
// contains filtered or unexported fields
}
CLIDeletionProgress reports deletion progress to the terminal.
func (*CLIDeletionProgress) OnComplete ¶
func (p *CLIDeletionProgress) OnComplete(succeeded, failed int)
func (*CLIDeletionProgress) OnProgress ¶
func (p *CLIDeletionProgress) OnProgress(processed, succeeded, failed int)
func (*CLIDeletionProgress) OnStart ¶
func (p *CLIDeletionProgress) OnStart(total int)
type CLIProgress ¶
type CLIProgress struct {
// contains filtered or unexported fields
}
CLIProgress implements gmail.SyncProgressWithDate for terminal output.
func (*CLIProgress) OnComplete ¶
func (p *CLIProgress) OnComplete(summary *gmail.SyncSummary)
func (*CLIProgress) OnError ¶
func (p *CLIProgress) OnError(err error)
func (*CLIProgress) OnLatestDate ¶
func (p *CLIProgress) OnLatestDate(date time.Time)
func (*CLIProgress) OnProgress ¶
func (p *CLIProgress) OnProgress(processed, added, skipped int64)
func (*CLIProgress) OnStart ¶
func (p *CLIProgress) OnStart(total int64)
Click to show internal directories.
Click to hide internal directories.