Documentation
¶
Overview ¶
Package imaptest runs go-imap's in-memory server for tests: STARTTLS on loopback (config.TLSFor skips verification there), any login name with password "password".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// Inbox connects to this server's INBOX, archiving to "Eraser".
Inbox config.InboxConfig
// contains filtered or unexported fields
}
func Start ¶
Start serves an empty INBOX (plus the memory backend's one sample message). move adds MOVE support, which the memory backend lacks, so archiving can take either the MOVE or the COPY+EXPUNGE path.