package
0.0.0-20241029112005-0b1b3725bc63
Repository: https://github.com/ord1ni/metrix.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetCounter Handler that send Counter metric value (with url adress).
GetGauge Handler that send Gauge metric value (with url adress).
GetJSON Handler tha recieve metric name in json and add send that metric from storate.
MainPage sent http response with sorted list of all metrics.
NewAPIHandler constructor.
NewHandlerError HandlerError constructor.
No description provided by the author
PingDB Handler to know status of database connection.
No description provided by the author
No description provided by the author
UpdateCounter Handler that receive Counter metrics with url adress.
UpdateGauge Handler that receive Gauge metrics with url adress.
UpdateJSON Handler tha recieve metric in json and add in to storage.
UpdatesJSON handler that recieve list of metrics in JSON and add them to storage.

# Variables

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

# Structs

APIHandler custom Handler type to implement backoff functionality.
HandlerError cunstom err for http response.

# Interfaces

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

# Type aliases

APIFunc custom HandlerFunc that can return error.