Documentation
¶
Index ¶
Constants ¶
View Source
const ( SOCKS_LISTEN_URI = "socksListenUri" PAC_LISTEN_URI = "pacListenUri" ENABLE_PAC_SERVER = "enablePacServer" ENABLE_DEBUG_LOGGING = "enableDebugLogging" CUSTOM_DECODINGS = "customDecodings" CONFIGDIR = "configDir" THEME = "customTheme" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SocksListenUri string PacListenUri string EnablePacServer bool Debug bool CustomDecodings []string Theme string // contains filtered or unexported fields }
func FromPreferences ¶ added in v0.14.0
func FromPreferences(preferences fyne.Preferences) Config
FromPreferences creates a new config from fyne preferences, and if any are missing saves the default values to the fyne preferences object
Click to show internal directories.
Click to hide internal directories.