convenience

package
v0.0.0-...-7a23ab9 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int64Recorder

type Int64Recorder func(int64) stats.Measurement

func NewCounter

func NewCounter(prefix, name, desc string) (Int64Recorder, *stats.View)

func NewGauge

func NewGauge(prefix, name, desc string) (Int64Recorder, *stats.View)

type Stopper

type Stopper func() stats.Measurement

type Stopwatch

type Stopwatch struct {
	Distribution *stats.View
	// contains filtered or unexported fields
}

func NewTimer

func NewTimer(prefix, desc string) Stopwatch

func (Stopwatch) Start

func (sw Stopwatch) Start() Stopper

Jump to

Keyboard shortcuts

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