addonregistry

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 2 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 manages a collection of addons and provides thread-safe access to them.

func New

func New() *Registry

New creates a new Registry instance.

func (*Registry) Add

func (r *Registry) Add(addon types.Addon)

Add adds a new addon to the registry. This method is thread-safe.

func (*Registry) Get

func (r *Registry) Get() []types.Addon

Get returns a copy of the current addon list. This method is thread-safe.

Jump to

Keyboard shortcuts

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