imapd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT-0 Imports: 23 Imported by: 0

Documentation

Overview

Package imapd implements perch's IMAP server on top of go-imap/v2.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server holds the shared IMAP backend state.

func New

func New(cfg config.Config, st *store.Store, h *hub.Hub, s3 *blob.S3, log *slog.Logger) *Server

New creates an IMAP backend. s3 may be nil in SQLite mode.

func (*Server) Options

func (s *Server) Options(tlsConfig *tls.Config, insecureAuth bool) *imapserver.Options

Options returns go-imap server options for one listener.

Jump to

Keyboard shortcuts

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