discard

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package discard implements a backend for package metrics that succeeds without doing anything.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCounter

func NewCounter(name string) metrics.Counter

NewCounter returns a Counter that does nothing.

func NewGauge

func NewGauge(name string) metrics.Gauge

NewGauge returns a Gauge that does nothing.

func NewHistogram

func NewHistogram(name string) metrics.Histogram

NewHistogram returns a Histogram that does nothing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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