Documentation
¶
Index ¶
- type Manager
- func (m *Manager) HealthCheck(ctx context.Context) map[string]error
- func (m *Manager) InitAll(ctx context.Context) error
- func (m *Manager) Register(mod contracts.Module, deps []string) error
- func (m *Manager) SetAuditLogger(a contracts.AuditLogger)
- func (m *Manager) StartAll(ctx context.Context) error
- func (m *Manager) StopAll(ctx context.Context) error
- func (m *Manager) Unregister(id string) error
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 (*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) Unregister ¶
Click to show internal directories.
Click to hide internal directories.