Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("collector", fx.Provide(NewCollector), )
Functions ¶
func Run ¶
func Run( stop chan struct{}, stopped chan struct{}, logger *zerolog.Logger, metrics *monitoring.MetricService, cfg config.Config, )
Types ¶
type Collector ¶
type Collector struct{}
func NewCollector ¶
func NewCollector( lc fx.Lifecycle, cfg config.Config, metrics *monitoring.MetricService, logger *zerolog.Logger, ) *Collector
Click to show internal directories.
Click to hide internal directories.