plugin

package
v5.6.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bundle

func Bundle(
	bundles ...map[string][]interface{},
) map[string][]interface{}

func Initialize

func Initialize() error

func LoadPlugins

func LoadPlugins(path string) error

func MakePlugin

func MakePlugin(key string, ifc interface{}) map[string][]interface{}

func MustRegisterLoader

func MustRegisterLoader(name string, l PluginLoader)

func RegisterLoader

func RegisterLoader(name string, l PluginLoader) error

Types

type PluginLoader

type PluginLoader func(p interface{}) error

Jump to

Keyboard shortcuts

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