Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatsInstance ¶
type StatsInstance struct {
Counters map[string]int `json:"counters"`
Gauges map[string]int `json:"gauges"`
}
func NewStatsInstance ¶
func NewStatsInstance() *StatsInstance
func (*StatsInstance) Gauge ¶
func (si *StatsInstance) Gauge(stat string, val int)
func (*StatsInstance) Incr ¶
func (si *StatsInstance) Incr(stat string)
func (*StatsInstance) IncrN ¶
func (si *StatsInstance) IncrN(stat string, val int)
Click to show internal directories.
Click to hide internal directories.