Documentation ¶
Overview ¶
Parses the configuration file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendConfig ¶
type BackendConfig struct {
Enabled bool
}
type Config ¶
type Config struct { // Memory config. Memory *MemoryConfig // IMAP config. Imap *ImapConfig // SMTP config. Smtp *SmtpConfig // Disk config. Disk *DiskConfig }
Configuration for all backends. Backends omitted or set to null won't be activated.
type DiskConfig ¶
type DiskConfig struct { *BackendConfig *disk.Config Contacts *DiskConfig Keys *DiskConfig UsersSettings *DiskConfig Addresses *DiskConfig }
type ImapConfig ¶
type ImapConfig struct { *BackendConfig *imap.Config }
type MemoryConfig ¶
type MemoryConfig struct { *BackendConfig Populate bool Domains []string }
type SmtpConfig ¶
type SmtpConfig struct { *BackendConfig *smtp.Config }
Click to show internal directories.
Click to hide internal directories.