Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPlugins ¶
LoadPlugins loads plugins from the specified directory into the global registry.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry holds a collection of all registered plugins. For gRPC plugins, it manages the go-plugin Clients.
var GlobalRegistry *Registry
GlobalRegistry is the global plugin registry.
func (*Registry) LoadPlugin ¶
LoadPlugin loads a single plugin from the given path.
func (*Registry) LoadPluginsFromDir ¶
LoadPluginsFromDir scans the directory for plugin binaries and loads them.
Click to show internal directories.
Click to hide internal directories.