shoenice

package module
v0.0.0-...-6dea1bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2013 License: BSD-2-Clause Imports: 7 Imported by: 1

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)

func (*StatsInstance) RunServer

func (si *StatsInstance) RunServer(listenaddr string, prefix string, sendInterval int, graphiteAddr string, graphitePort uint16)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL