Versions in this module Expand all Collapse all v0 v0.1.0 Sep 28, 2021 Changes in this version + type Builder interface + Build func() Component + WithComponentManager func(Manager) Builder + WithMetrics func(metric.Metrics) Builder + type Component interface + ShouldBeLeader func() bool + Start func(<-chan struct{}) error + type ComponentFunc func(<-chan struct{}) error + func (f ComponentFunc) ShouldBeLeader() bool + func (f ComponentFunc) Start(stop <-chan struct{}) error + type Manager interface + AddComponent func(...Component) error