Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Type string `json:"type"` Name string `json:"name"` QueryResult QueryResult `json:"queryResult"` }
type ContextMenuItem ¶
type ContextMenuItem struct { Type string `json:"type,omitempty"` Label string `json:"label"` Enabled bool `json:"enabled"` Icon string `json:"icon,omitempty"` SubMenu []ContextMenuItem `json:"submenu,omitempty"` }
type Metadata ¶
type Metadata struct { Name string `json:"name"` ID string `json:"id"` Description string `json:"description"` Author string `json:"author"` Version string `json:"version"` Type string `json:"type"` Main string `json:"main"` Icon string `json:"_icon"` // where to store your app's data and settings AppData string `json:"_appdata"` }
type QueryResult ¶
type QueryResult struct { Program Title string `json:"title"` Subtitle string `json:"subtitle"` Query string `json:"query"` // ID of plugin returning this query results ID string `json:"id"` Score int `json:"score"` LowName string `json:"-"` ContextMenu []ContextMenuItem `json:"contextmenu"` // extra data for plugins Data interface{} `json:"data"` }
type Request ¶
type Request struct { Method string `json:"method"` Params json.RawMessage `json:"params"` }
Click to show internal directories.
Click to hide internal directories.