Documentation ¶
Overview ¶
Package settings provides access to persistent user settings.
Index ¶
Constants ¶
View Source
const ( APIPortKey = "UserPortApi" IMAPPortKey = "UserPortImap" SMTPPortKey = "UserPortSmtp" AllowProxyKey = "AllowProxy" CacheEnabledKey = "CacheEnabled" CacheCompressionKey = "CacheCompression" CacheMinFreeAbsKey = "CacheMinFreeAbs" CacheMinFreeRatKey = "CacheMinFreeRat" CacheConcurrencyRead = "CacheConcurrentRead" CacheConcurrencyWrite = "CacheConcurrentWrite" IMAPWorkers = "ImapWorkers" FetchWorkers = "FetchWorkers" AttachmentWorkers = "AttachmentWorkers" CacheDir = "CacheDir" X509Key = "X509Key" X509Cert = "X509Cert" CookieJar = "CookieJar" ServerAddress = "ServerAddress" CredentialsStore = "CredentialsStore" BCCSelf = "BCCSelf" IsAllMailVisible = "IsAllMailVisible" )
Keys of preferences in JSON file.
View Source
const ( DefaultIMAPPort = "1143" DefaultSMTPPort = "1025" DefaultAPIPort = "1042" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
func (Settings) GetFloat64 ¶
Click to show internal directories.
Click to hide internal directories.