plugins

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

Registry holds a collection of all available editor plugins.

func NewRegistry

func NewRegistry() *Registry

NewRegistry creates a new plugin registry.

func (*Registry) Get

func (r *Registry) Get(editorType pluginapi.EditorType) (pluginapi.Plugin, bool)

Get retrieves a plugin by its name.

func (*Registry) GetNames

func (r *Registry) GetNames() []string

func (*Registry) Register

func (r *Registry) Register(plugin pluginapi.Plugin)

Register adds a new plugin to the registry.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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