handler

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCmdExists

func IsCmdExists(cmd string, verbose bool) bool

Types

type ChanelMsg

type ChanelMsg struct {
	Msg      string
	Item     *systray.MenuItem
	ItemName ns.ItemName
	Action   ns.Action
	// contains filtered or unexported fields
}

type Handler

type Handler interface {
	ReconMeta()
	ReconAccount()
	ReconDevice()
	ReconEnv()
	ReconQuit()
	ReconAuth()
	ReconUser()
	StartListener()
	Channel() chan ChanelMsg

	ItemMap() map[ns.ItemName]*systray.MenuItem
	AddItem(ns.ItemName, *systray.MenuItem)
	DeleteItem(ns.ItemName)
}

func NewHandler

func NewHandler(channel chan ChanelMsg, binName string) Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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