testhelper

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpyMetricClient

type SpyMetricClient struct {
	GaugeMetric *pulseemitter.GaugeMetric
	// contains filtered or unexported fields
}

func NewMetricClient

func NewMetricClient() *SpyMetricClient

func (*SpyMetricClient) GetDelta

func (s *SpyMetricClient) GetDelta(name string) uint64

func (*SpyMetricClient) NewCounterMetric

func (s *SpyMetricClient) NewCounterMetric(name string, opts ...pulseemitter.MetricOption) *pulseemitter.CounterMetric

func (*SpyMetricClient) NewGaugeMetric

func (s *SpyMetricClient) NewGaugeMetric(name, unit string, opts ...pulseemitter.MetricOption) *pulseemitter.GaugeMetric

Jump to

Keyboard shortcuts

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