Documentation ¶
Overview ¶
Package preferences provides key names and defaults for preferences used in Bridge.
Index ¶
Constants ¶
View Source
const ( FirstStartKey = "first_time_start" FirstStartGUIKey = "first_time_start_gui" NextHeartbeatKey = "next_heartbeat" APIPortKey = "user_port_api" IMAPPortKey = "user_port_imap" SMTPPortKey = "user_port_smtp" SMTPSSLKey = "user_ssl_smtp" AllowProxyKey = "allow_proxy" AutostartKey = "autostart" CookiesKey = "cookies" ReportOutgoingNoEncKey = "report_outgoing_email_without_encryption" LastVersionKey = "last_used_version" )
Keys of preferences in JSON file.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg configProvider) (pref *config.Preferences)
New returns loaded preferences with Bridge defaults when values are not set yet.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.