tray

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available

func Available() bool

Available returns false when the systray is not compiled in.

func Register added in v0.2.1

func Register(_ Callbacks)

Register is a no-op on unsupported platforms.

Types

type Callbacks

type Callbacks struct {
	OnStart       func()
	OnPauseToggle func(paused bool)
	OnQuit        func()
}

Callbacks holds the functions the tray uses to control the proxy.

Jump to

Keyboard shortcuts

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