Documentation
¶
Index ¶
- func Decrement(category, key string)
- func DecrementBy(category, key string, value int64)
- func Gauge(category, key string, value int64)
- func Increment(category, key string)
- func IncrementBy(category, key string, value int64)
- func Register(h StatsInterface)
- func Stat(category, key string) int64
- func StatsAll() *[]byte
- func Timing(category, key string, value int64)
- type StatsInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecrementBy ¶
func IncrementBy ¶
func Register ¶
func Register(h StatsInterface)
Types ¶
type StatsInterface ¶
type StatsInterface interface {
Increment(category, key string)
IncrementBy(category, key string, value int64)
Decrement(category, key string)
DecrementBy(category, key string, value int64)
Timing(category, key string, v int64)
Gauge(category, key string, v int64)
Stat(category, key string) int64
StatsAll() *[]byte
}
Click to show internal directories.
Click to hide internal directories.