package
0.2.0
Repository: https://github.com/vanadium/core.git
Documentation: pkg.go.dev

# Packages

Package counter implements counters that keeps track of their recent values over different periods of time.
Package histogram implements a basic histogram to keep track of data distribution.
Package sysstats implements system statistics and updates them periodically.

# Functions

Delete deletes a StatsObject and all its children, if any.
GetStatsObject returns the object with that given name, or an error if the object doesn't exist.
Glob returns the name and (optionally) the value of all the objects that match the given pattern and have been updated since 'updatedSince'.
NewCounter creates a new Counter StatsObject with the given name and returns a pointer to it.
NewFloat creates a new Float StatsObject with the given name and returns a pointer to it.
NewFloatFunc creates a new StatsObject with the given name.
NewHistogram creates a new Histogram StatsObject with the given name and returns a pointer to it.
NewInteger creates a new Integer StatsObject with the given name and returns a pointer to it.
NewIntegerFunc creates a new StatsObject with the given name.
NewMap creates a new Map StatsObject with the given name and returns a pointer to it.
NewString creates a new String StatsObject with the given name and returns a pointer to it.
NewStringFunc creates a new StatsObject with the given name.
Value returns the value of an object, or an error if the object doesn't exist.

# Structs

Float implements the StatsObject interface.
No description provided by the author
Integer implements the StatsObject interface.
KeyValue stores a Key and a Value.
Map implements the StatsObject interface.
String implements the StatsObject interface.

# Interfaces

StatsObject is the interface for objects stored in the stats repository.