Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
Finder is a concrete implementation of embedder.Finder that caches instantiated embedders and supports hot-swap via Add/Remove/Version.
func (*Finder) AddConfig ¶
AddConfig injects or overwrites an embedder configuration and bumps version.
func (*Finder) DropEmbedder ¶
DropEmbedder removes a cached instance but keeps the config for lazy re-creation.
type Option ¶
type Option func(*Finder)
Option defines a functional option for Finder.
func WithConfigLoader ¶
func WithConfigLoader(loader provider.ConfigLoader) Option
WithConfigLoader sets a custom configuration loader.
func WithInitial ¶
WithInitial adds embedder configurations at construction time.
Click to show internal directories.
Click to hide internal directories.