system_tray

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSystray

func SetupSystray(
	startServer, shutdownServer func(),
	getURL func() string,
	getConfigDir func() (string, error),
	getStoreUrls func() []string,
	toggleTailscale func() error,
	setLanguage func(string) error,
	getTailscaleEnabled func() bool,
)

SetupSystray 设置系统托盘 startServer: 启动服务器的函数 shutdownServer: 清理服务器的函数 getURL: 获取服务器URL的函数 getConfigDir: 获取配置目录的函数 getStoreUrls: 获取书库URL列表的函数 toggleTailscale: 切换Tailscale状态的函数 setLanguage: 设置语言的函数 getTailscaleEnabled: 获取Tailscale是否启用的函数

Types

This section is empty.

Jump to

Keyboard shortcuts

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