Documentation
¶
Index ¶
Constants ¶
View Source
const ( SocksListenURI = "socksListenUri" PACListenURI = "pacListenUri" EnablePACServer = "enablePacServer" EnableDebugLogging = "enableDebugLogging" CustomDecodings = "customDecodings" ConfigDir = "configDir" Theme = "customTheme" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.20.0
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.20.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
type FilterToken ¶
type FilterToken struct {
// FilterType is the type of filter.
// This is the part before the : in a FilterToken
FilterType string
// Negate is whether the FilterToken causes the inverse of its meaning.
// This is set by having a "-" before FilterContent.
//
// Ex: "status:-101"
Negate bool
// FilterContent is the content of the FilterToken.
// This is the part after the : in a FilterToken
FilterContent string
}
FilterToken is a token parsed from the packet filter string
It is used to determining which packets should be displayed in the ui for a given filter. Ex: "status:101" would match any http packets with a response status of "101"
Click to show internal directories.
Click to hide internal directories.