package
0.0.0-20230423130316-c2add7fa8e01
Repository: https://github.com/alkurbatov/metrics-collector.git
Documentation: pkg.go.dev

# Functions

NewGetCounterReq creates new MetricReq structure to be used for retrieving of counter metric.
NewGetGaugeReq creates new MetricReq structure to be used for retrieving of gauge metric.
NewUpdateCounterReq creates new MetricReq structure to be used for updating counter metric.
NewUpdateGaugeReq creates new MetricReq structure to be used for updating gauge metric.
ToCounter creates new Counter metric object from string value.
ToGauge creates new Gauge metric object from string value.

# Constants

No description provided by the author
No description provided by the author

# Structs

MetricReq represents info regarding particular metric name, type and value.

# Interfaces

A Metric is common representation of all supported metrics kinds.

# Type aliases

Counter represents always growing numeric metric, e.g.
Gauge represents numeric metric value which could go up or down, e.g.