Versions in this module Expand all Collapse all v1 v1.0.0 Mar 21, 2026 Changes in this version + type DefaultServiceRegistry struct + func NewServiceRegistry() *DefaultServiceRegistry + func (r *DefaultServiceRegistry) Get(name string) any + func (r *DefaultServiceRegistry) Register(name string, service any) + type PluginRegistry struct + func NewPluginRegistry(config *models.Config, logger models.Logger, db bun.IDB, ...) *PluginRegistry + func (r *PluginRegistry) CloseAll() + func (r *PluginRegistry) DropMigrations(ctx context.Context) error + func (r *PluginRegistry) GetConfig() *models.Config + func (r *PluginRegistry) GetPlugin(pluginID string) models.Plugin + func (r *PluginRegistry) InitAll() error + func (r *PluginRegistry) Plugins() []models.Plugin + func (r *PluginRegistry) Register(p models.Plugin) error + func (r *PluginRegistry) RunMigrations(ctx context.Context) error + func (r *PluginRegistry) SetConfigProvider(provider func() *models.Config)