metrics

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 8 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CounterRegistered

func CounterRegistered(name string) bool

func GetAll

func GetAll() map[string]int64

func Initialize

func Initialize(sysCfg *config.CfgBlockSystem) error

Types

type Counter

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

func GetCounter

func GetCounter(name string) *Counter

func (*Counter) Inc

func (cntr *Counter) Inc(delta int64)

Jump to

Keyboard shortcuts

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