Versions in this module Expand all Collapse all v1 v1.0.0 Dec 16, 2024 Changes in this version + type StatsDConfig struct + BufferSize int + Enabled bool + Host string + IntervalInSeconds int + Namespace string + Port int + Protocol string + type StatsDModule struct + func (module *StatsDModule) Absolute(category, key string, value int64) + func (module *StatsDModule) Decrement(category, key string) + func (module *StatsDModule) DecrementBy(category, key string, value int64) + func (module *StatsDModule) Gauge(category, key string, v int64) + func (module *StatsDModule) GetTimestamp(category, key string) (time.Time, error) + func (module *StatsDModule) Increment(category, key string) + func (module *StatsDModule) IncrementBy(category, key string, value int64) + func (module *StatsDModule) Name() string + func (module *StatsDModule) RecordTimestamp(category, key string, value time.Time) + func (module *StatsDModule) Setup() + func (module *StatsDModule) Start() error + func (module *StatsDModule) Stat(category, key string) int64 + func (module *StatsDModule) StatsAll() string + func (module *StatsDModule) Stop() error + func (module *StatsDModule) Timing(category, key string, v int64)