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
}
Manager owns the configured heartbeats and notification mailbox.
func NewManager ¶
func NewManager( cfg *config.Config, templateFS fs.FS, notifier ntypes.Notifier, historyStore history.Recorder, metricsReg *metrics.Registry, logger *slog.Logger, ) (*Manager, error)
NewManager builds a Manager from config and templates.
func (*Manager) Reload ¶
func (m *Manager) Reload(ctx context.Context, cfg *config.Config, templateFS fs.FS) (ReloadResult, error)
Reload rebuilds heartbeat runners and receiver registrations.
type ReloadResult ¶
ReloadResult reports heartbeat changes after a reload.
Click to show internal directories.
Click to hide internal directories.