Back to / helper / builtinplugins

package builtinplugins

Latest Go to latest
Published: Jul 2, 2020 | License: MPL-2.0 | Module:



var Registry = newRegistry()

Registry is inherently thread-safe because it's immutable. Thus, rather than creating multiple instances of it, we only need one.

type BuiltinFactory

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

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier