package
0.0.0-20240122065236-1d05f9631fc8
Repository: https://github.com/dimakoz/practicummetrics.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewEmptyMetrics creates a new Metrics.
NewMetricUnit creates an instance of MetricUnit or returns an error.
# Constants
MetricTypeCounter represents "counter" MetricUnit.Type.
MetricTypeGauge represents "gauge" MetricUnit.Type.
# Variables
nolint:exhaustruct.
ErrEmptyValue represents an error which related to empty MetricUnit.Name and/or MetricUnit.Value.
should use for StatusCode: http.StatusNotImplemented.
# Structs
No description provided by the author
Metrics represents a metric from JSON.
MetricUnit represents a metric.