Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginConfig ¶
type PluginConfig struct {
// contains filtered or unexported fields
}
func NewPluginConfig ¶
func NewPluginConfig(errorHandler func(error)) *PluginConfig
func (*PluginConfig) Plugins ¶
func (c *PluginConfig) Plugins() map[string]PluginMetadata
func (*PluginConfig) RemovePlugin ¶
func (c *PluginConfig) RemovePlugin(name string)
func (*PluginConfig) SetPlugin ¶
func (c *PluginConfig) SetPlugin(name string, metadata PluginMetadata)
setter methods
type PluginConfiguration ¶
type PluginConfiguration interface { Plugins() map[string]PluginMetadata SetPlugin(string, PluginMetadata) GetPluginPath() string RemovePlugin(string) }
type PluginData ¶
type PluginData struct {
Plugins map[string]PluginMetadata
}
func NewData ¶
func NewData() *PluginData
func (*PluginData) JsonMarshalV3 ¶
func (pd *PluginData) JsonMarshalV3() (output []byte, err error)
func (*PluginData) JsonUnmarshalV3 ¶
func (pd *PluginData) JsonUnmarshalV3(input []byte) (err error)
type PluginMetadata ¶
Click to show internal directories.
Click to hide internal directories.