config

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTP_LISTEN_URI      = "httpListenUri"
	TLS_LISTEN_URI       = "tlsListenUri"
	SOCKS_LISTEN_URI     = "socksListenUri"
	ENABLE_DEBUG_LOGGING = "enableDebugLogging"
	CUSTOM_DECODINGS     = "customDecodings"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HttpListenUri   string
	TlsListenUri    string
	SocksListenUri  string
	Debug           bool
	CustomDecodings []string
}

func ParseFlags

func ParseFlags(preferences fyne.Preferences) Config

ParseFlags parses the currently saved user preferences, and if any are missing saves the default values for those preferences to disk

Jump to

Keyboard shortcuts

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