tray

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager handles system tray integration and Flutter UI lifecycle

func New

func New(logger *slog.Logger, apiAddr string, windowClosedCh <-chan struct{}) *Manager

New creates a new tray manager. apiAddr is the host:port of the API server (e.g. "localhost:1985") so tray commands reach the correct port.

func (*Manager) QuitChannel

func (m *Manager) QuitChannel() <-chan struct{}

QuitChannel returns the quit channel

func (*Manager) Run

func (m *Manager) Run()

Run starts the system tray

Jump to

Keyboard shortcuts

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