imap

package
v0.0.0-...-545ca47 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package imap provides a go-imap backend that encrypts and decrypts NGCRYPT messages.

Index

Constants

View Source
const (
	FlagEnableSearch uint = 1 << iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	backend.Backend

	Unlock pgpmail.UnlockFunction

	Cleaner ngcrypt.Cleaner

	Flags uint
}

func New

func New(be backend.Backend, unlock pgpmail.UnlockFunction) *Backend

func (*Backend) Login

func (be *Backend) Login(conn *imap.ConnInfo, username, password string) (backend.User, error)

Jump to

Keyboard shortcuts

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