module

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(reg *registry.Registry, bus contracts.EventBus) *Manager

func (*Manager) HealthCheck

func (m *Manager) HealthCheck(ctx context.Context) map[string]error

func (*Manager) InitAll

func (m *Manager) InitAll(ctx context.Context) error

func (*Manager) Register

func (m *Manager) Register(mod contracts.Module, deps []string) error

func (*Manager) SetAuditLogger added in v0.4.0

func (m *Manager) SetAuditLogger(a contracts.AuditLogger)

SetAuditLogger attaches an audit logger for recording module lifecycle events.

func (*Manager) StartAll

func (m *Manager) StartAll(ctx context.Context) error

func (*Manager) StopAll

func (m *Manager) StopAll(ctx context.Context) error

func (*Manager) Unregister

func (m *Manager) Unregister(id string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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