Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { LogrusLevel logrus.Level `yaml:"-"` LogLevel int `yaml:"log_level" flag:"logLevel"` NetworkConfigs struct { SMTP struct { Host string `flag:"smtpHost"` Port int `flag:"smtpPort"` } IMAP struct { Host string `flag:"imapHost"` Port int `flag:"imapPort"` } HTTP struct { Host string `flag:"httpHost"` Port int `flag:"httpPort"` } } DisableIMAP bool `yaml:"disable_imap" flag:"disableImap"` DisableSMTP bool `yaml:"disable_smtp" flag:"disableSmtp"` DisableHTTP bool `yaml:"disable_http" flag:"disableHttp"` }
Click to show internal directories.
Click to hide internal directories.