plugin

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: Apache-2.0 Imports: 6 Imported by: 1,544

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