module

package
v0.0.0-...-b1c8281 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicateComponent

type DuplicateComponent string

func (DuplicateComponent) Error

func (r DuplicateComponent) Error() string

type Registry

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

func DefaultRegistry

func DefaultRegistry() *Registry

func NewRegistry

func NewRegistry() *Registry

func (*Registry) Get

func (r *Registry) Get(name string) any

func (*Registry) List

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

func (*Registry) Register

func (r *Registry) Register(name string, component any)

func (*Registry) Unregister

func (r *Registry) Unregister(name string)

Jump to

Keyboard shortcuts

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