metrics

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 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 Metrics

type Metrics struct {
	// contains filtered or unexported fields
}

func NewMetrics

func NewMetrics() *Metrics

func NoMetrics

func NoMetrics() *Metrics

func (*Metrics) Close

func (x *Metrics) Close() error

func (*Metrics) Increment

func (x *Metrics) Increment(metricName string) error

func (*Metrics) Record

func (x *Metrics) Record(metricName string) func() error

Jump to

Keyboard shortcuts

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