tray

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Address      string
	RawHost      string
	Mode         string
	Log          string
	UpdateStatus func()
}

func NewApp

func NewApp() *App

func (*App) ItemAbout

func (a *App) ItemAbout(menu *systray.MenuItem)

func (*App) ItemDaemon

func (a *App) ItemDaemon(menu *systray.MenuItem)

func (*App) ItemEditConfig

func (a *App) ItemEditConfig(menu *systray.MenuItem)

func (*App) ItemExportCommand

func (a *App) ItemExportCommand(menu *systray.MenuItem)

func (*App) ItemLog added in v0.3.1

func (a *App) ItemLog(menu *systray.MenuItem)

func (*App) ItemProxyMode

func (a *App) ItemProxyMode(global, manual *systray.MenuItem)

func (*App) ItemQuit

func (a *App) ItemQuit(menu *systray.MenuItem)

func (*App) ItemReloadConfig

func (a *App) ItemReloadConfig(menu *systray.MenuItem)

func (*App) ItemStatus

func (a *App) ItemStatus(menu *systray.MenuItem)

func (*App) ItemView added in v0.3.1

func (a *App) ItemView(menu *systray.MenuItem)

func (App) Quit

func (App) Quit()

func (*App) Run

func (a *App) Run()

Jump to

Keyboard shortcuts

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