Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Username contains the IMAPv4 user that your client will use to login. Username string `yaml:"username"` // Password contains the password for the user above. It must be bcrypted, // e.g. with `htpasswd -bnBC 10 "" 'potato'` Password string `yaml:"password"` // Maildir is the path to the directory holding your mail notmuch // database. Maildir string `yaml:"maildir"` // Mailboxes is a list of mailbox names and notmuch search querie. Mailboxes []Mailbox `yaml:"mailboxes"` // UidDatabase is used to persist the assigned UID for a message, to // keep clients from getting confused. UidDatabase string `yaml:"uidDataabase"` // If wanting to use encryption, path to the TLS certificate and private // key. TLSCertificate string `yaml:"tlsCertificate"` TLSKey string `yaml:"tlsKey"` // Enable debug logging in go-imap Debug bool `yaml:"debug"` }
func (*Config) SetDefaults ¶
func (c *Config) SetDefaults()
Click to show internal directories.
Click to hide internal directories.