config

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL