metrics

package
v0.0.0-...-3a937ec Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackHole

type BlackHole struct{}

BlackHole reporter

func (*BlackHole) Count

func (*BlackHole) Count(name string, value int64, tags ...string)

type Dummy

type Dummy struct {
	Data map[string]interface{}
	// contains filtered or unexported fields
}

Dummy reporter for testing purposes

func NewDummy

func NewDummy(name string, tags ...string) (r *Dummy)

func (*Dummy) Count

func (r *Dummy) Count(name string, value int64, tags ...string)

type Reporter

type Reporter interface {
	Count(name string, value int64, tags ...string)
}

Jump to

Keyboard shortcuts

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