Versions in this module Expand all Collapse all v0 v0.2.19 Mar 17, 2026 Changes in this version + const PriorityCritical + const PriorityDefault + const PriorityFramework + const PriorityImportant + const PriorityInfrastructure + const ReservedPrefix + func AsConfig[T any](h component.Handle) (*T, error) + func BindConfig[T any](h component.Handle, target *T) error + func GetDefault[T any](ctx context.Context, l component.Locator) (T, error) + func Get[T any](ctx context.Context, l component.Locator, name string) (T, error) + func Iter[T any](ctx context.Context, l component.Locator) iter.Seq2[string, T] + func Register(cat Category, p Provider, opts ...RegisterOption) + type Category = component.Category + type ConfigEntry = component.ConfigEntry + type ConfigResolver = component.ConfigResolver + type Container = component.Container + func NewContainer(opts ...RegistryOption) Container + type Handle = component.Handle + type InOption = component.InOption + func WithInScope(s Scope) InOption + func WithInTags(tags ...string) InOption + type LoadOption = component.LoadOption + func ForCategory(cat Category) LoadOption + func ForName(name string) LoadOption + func ForScope(s Scope) LoadOption + func WithLoadResolver(res ConfigResolver) LoadOption + type LoadOptions = component.LoadOptions + type Locator = component.Locator + type ModuleConfig = component.ModuleConfig + type Option = container.Option + type Priority = component.Priority + type Provider = component.Provider + type RegisterOption = component.RegisterOption + func WithConfigResolverOption(res ConfigResolver) RegisterOption + func WithDefaultEntries(names ...string) RegisterOption + func WithPriority(p Priority) RegisterOption + func WithRequirementResolverOption(res RequirementResolver) RegisterOption + func WithScopes(ss ...Scope) RegisterOption + func WithTag(tag string) RegisterOption + type Registration = component.Registration + func GlobalRegistrations() []Registration + type RegistrationOptions = component.RegistrationOptions + type Registry = component.Registry + type RegistryOption func(*RegistryOptions) + func WithCategoryResolvers(res map[Category]ConfigResolver) RegistryOption + func WithGlobalRegistrations() RegistryOption + type RegistryOptions struct + CategoryResolvers map[Category]ConfigResolver + Registrations []Registration + type RequirementResolver = component.RequirementResolver + type Scope = component.Scope