Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallMessage ¶
type CallMessage struct { Name string `json:"name"` Args []json.RawMessage `json:"args"` CallbackID string `json:"callbackID,omitempty"` }
type ContextMenusOnMessage ¶
type ContextMenusOnMessage struct { // MenuID is the id of the menu item we are interested in MenuID string // Callback is called when the menu is clicked Callback func(*menu.MenuItem, string) }
ContextMenusOnMessage is used to emit listener registration requests on the service bus
type EventMessage ¶
type EventMessage struct { Name string `json:"name"` Data []interface{} `json:"data"` }
type MenuOnMessage ¶
type MenuOnMessage struct { // MenuID is the id of the menu item we are interested in MenuID string // Callback is called when the menu is clicked Callback func(*menu.MenuItem) }
MenuOnMessage is used to emit listener registration requests on the service bus
type OnEventMessage ¶
type TrayOnMessage ¶
type TrayOnMessage struct { // MenuID is the id of the menu item we are interested in MenuID string // Callback is called when the menu is clicked Callback func(*menu.MenuItem) }
TrayOnMessage is used to emit listener registration requests on the service bus
Click to show internal directories.
Click to hide internal directories.