Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter implements MailProvider for Gmail
func (*Adapter) IncrementalSync ¶
func (a *Adapter) IncrementalSync(ctx context.Context, user string, cp sync.Checkpoint, fn func(sync.MessageMeta) error) (*sync.Checkpoint, error)
IncrementalSync performs incremental sync from checkpoint
func (*Adapter) InitialBackfill ¶
func (a *Adapter) InitialBackfill(ctx context.Context, user string, cp *sync.Checkpoint, fn func(sync.MessageMeta) error) (*sync.Checkpoint, error)
InitialBackfill performs full import of messages
Click to show internal directories.
Click to hide internal directories.