Help us shape the future of Go! Take the 2026 Go Developer Survey

plugins

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options added in v0.0.5

type Options struct {
	Title string `json:"title,omitempty"`
	Value string `json:"value,omitempty"`
}

type SettingsMenuItem

type SettingsMenuItem struct {
	Title string `json:"title"`
	Key   string `json:"key"`
	Id    string `json:"id"`
}

type SettingsMenuItemGroup

type SettingsMenuItemGroup struct {
	PluginName string
	Items      []SettingsMenuItem
}

type ToolbarButton

type ToolbarButton struct {
	Key         string    `json:"key"`
	Title       string    `json:"title"`
	Icon        string    `json:"icon"`
	Group       string    `json:"group"` // "left", "middle", "right"
	DataPlugin  string    `json:"dataPlugin"`
	Type        string    `json:"type"` // "button", "toggle", "dropdown"
	SelectClass string    `json:"selectClass,omitempty"`
	Options     []Options `json:"options"`
}

ToolbarButton repräsentiert einen einzelnen Toolbar-Button

type ToolbarButtonGroup

type ToolbarButtonGroup struct {
	PluginName string
	Buttons    []ToolbarButton
}

ToolbarButtonGroup represents a group of toolbar buttons belonging to a plugin

Jump to

Keyboard shortcuts

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