Versions in this module Expand all Collapse all v0 v0.1.0 Jun 16, 2022 Changes in this version + const TypeDatadog + const TypeStdout + type Collector interface + Collect func() (map[string]interface{}, error) + type Publish struct + func New(log *zap.SugaredLogger, collector Collector, interval time.Duration, ...) (*Publish, error) + func (p *Publish) Stop() + type Publisher func(map[string]interface{}) + type Stdout struct + func NewStdout(log *zap.SugaredLogger) *Stdout + func (s *Stdout) Publish(data map[string]interface{})