Versions in this module Expand all Collapse all v1 v1.0.0 Dec 24, 2019 Changes in this version + type Stats struct + Avg time.Duration + Count int + P95 time.Duration + P99 time.Duration + Prefix string + func (s *Stats) String() string + type TimerMetrics struct + func NewTimerMetrics(statusEvery int, prefix string) *TimerMetrics + func (m *TimerMetrics) Stats() *Stats + func (m *TimerMetrics) Status(startTime time.Time) + func (m *TimerMetrics) StatusDuration(duration time.Duration)