Documentation ¶
Overview ¶
timer makes timing operations easier.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timer ¶
func NewWithMetric ¶
func NewWithMetric(name string, m metrics2.Float64Metric) *Timer
func NewWithMetricOnly ¶
func NewWithMetricOnly(m metrics2.Float64Metric) *Timer
func NewWithSummary ¶
func NewWithSummary(name string, m metrics2.Float64SummaryMetric) *Timer
func NewWithSummaryOnly ¶
func NewWithSummaryOnly(m metrics2.Float64SummaryMetric) *Timer
Click to show internal directories.
Click to hide internal directories.