plugins

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugins

type Plugins struct {
	PluginMappings []map[string]string
}

Plugins is the default type a plugin implements

func GetPlugins

func GetPlugins() *Plugins

GetPlugins returns the list of plugins

func (*Plugins) ExecutePlugin

func (p *Plugins) ExecutePlugin(payload, topic, plugin string) (success int, err error)

ExecutePlugin calls the proper plugin with the parameters

func (*Plugins) SetupPlugins

func (p *Plugins) SetupPlugins()

SetupPlugins prepares the plugins

Jump to

Keyboard shortcuts

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