Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigPath ¶
GetConfigPath returns the path to store application configuration
Types ¶
type PacServer ¶
type PacServer struct {
// contains filtered or unexported fields
}
PacServer represents a PAC (Proxy Auto-Configuration) server
type SysTray ¶
type SysTray struct {
// contains filtered or unexported fields
}
SysTray represents the system tray integration
func NewSysTray ¶
func NewSysTray(handler SysTrayHandler) (*SysTray, error)
NewSysTray creates a new system tray integration
type SysTrayHandler ¶
type SysTrayHandler interface {
ShowWindow()
HideWindow()
Quit()
IsProxyRunning() bool
StartProxyByName(name string) error
StopProxy() error
GetProfiles() interface{} // This should match the actual ProxyProfile struct
SetSystemProxyMode(mode string) error
GetAppSettings() interface{} // This should match the actual AppConfig struct
}
SysTrayHandler defines the interface for handling system tray events
Click to show internal directories.
Click to hide internal directories.