Documentation ¶
Index ¶
- Constants
- func AddMenuItem(title string, tooltip string) *cachedMenuItem
- func AddMenuItemCheckbox(title string, tooltip string, checked bool) *cachedMenuItem
- func Spawn(ctx context.Context, log *logrus.Entry, cfg Config, notifier notify.Notifier)
- type Config
- type GatewayItem
- type Gui
- type GuiEvent
- type TenantItem
Constants ¶
View Source
const ConfigFile = "systray-config.json"
Variables ¶
This section is empty.
Functions ¶
func AddMenuItem ¶
func AddMenuItemCheckbox ¶
Types ¶
type Config ¶
type GatewayItem ¶
type Gui ¶
type Gui struct { DeviceAgentClient pb.DeviceAgentClient AgentStatusChannel chan *pb.AgentStatus AgentStatus *pb.AgentStatus Events chan GuiEvent Interrupts chan os.Signal NewVersionAvailable chan bool PrivilegedGatewayClicked chan string TenantItemClicked chan string ProgramContext context.Context MenuItems struct { Connect *cachedMenuItem Quit *cachedMenuItem State *cachedMenuItem StateInfo *cachedMenuItem Logs *cachedMenuItem Settings *cachedMenuItem AutoConnect *cachedMenuItem BlackAndWhite *cachedMenuItem DeviceLog *cachedMenuItem HelperLog *cachedMenuItem SystrayLog *cachedMenuItem ZipLog *cachedMenuItem Version *cachedMenuItem Upgrade *cachedMenuItem Tenant *cachedMenuItem TenantItems []*TenantItem GatewayItems []*GatewayItem AcceptableUse *cachedMenuItem } Config Config // contains filtered or unexported fields }
type TenantItem ¶
Click to show internal directories.
Click to hide internal directories.