plugin

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// the path to the plugin executable
	Path   string
	Config map[string]interface{}
	template.Backend
}

Plugin represents the config for a plugin.

func (*Plugin) Connect

func (p *Plugin) Connect() (template.Backend, error)

Connect creates the connection to the plugin and initializes it with the stored configuration.

type WatchConfig

type WatchConfig struct {
	Prefix string
	Opts   easykv.WatchOptions
}

WatchConfig holds all data needed by the plugins WatchPrefix method.

Jump to

Keyboard shortcuts

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