builtinplugins

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2018 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys() []string

Keys returns the list of plugin names that are considered builtin plugins.

Types

type BuiltinFactory

type BuiltinFactory func() (interface{}, error)

BuiltinFactory is the func signature that should be returned by the plugin's New() func.

func Get

func Get(name string) (BuiltinFactory, bool)

Get returns the BuiltinFactory func for a particular backend plugin from the plugins map.

Jump to

Keyboard shortcuts

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