package
0.0.0-20241127015210-a90ff861486b
Repository: https://github.com/votono/go-metrics.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AllValueHandler returns all metrics in HTML format.
BatchUpdateHandler receives array of metrics in JSON format and updates storage with them.
Ping checks database connection.
UpdateHandler retrieve metric from URLParams and updates it in storage.
UpdateHandlerJSON retrieve metric from body in JSON format and updates it in storage.
ValueHandler retrieve metric name from URLParams and return value.
ValueHandlerJSON retrieve metric name from body in JSON format and return value.