Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Category ¶
type CounterMetric ¶
func Counter ¶
func Counter(category, name string) CounterMetric
Counter creates a new counter metric (or returns an existing one if one already exists with this name and category)
func DebugCounter ¶
func DebugCounter(category, name string) CounterMetric
DebugCounter creates a new debug counter metric (or returns an existing one if one already exists with this name and category)
type TimerMetric ¶
type TimerMetric interface { Metric Start() Stop() }
func DebugTimer ¶
func DebugTimer(category, name string) TimerMetric
DebugTimer returns a new debug timer (or returns an existing one if one exists with this category and name)
func Timer ¶
func Timer(category, name string) TimerMetric
Timer returns a new timer (or returns an existing one if one exists with this category and name)
Click to show internal directories.
Click to hide internal directories.