package
0.0.0-20240107182258-17bc252a4bb9
Repository: https://github.com/matthiasbt/monitoring.git
Documentation: pkg.go.dev
# Functions
GetAllMetrics retrieves all metrics from the storage and renders them using a specified HTML template.
GetMetric retrieves a single metric from the storage based on the provided query criteria.
MassUpdate updates a batch of metrics in the storage using the provided BaseController.
NewBaseController creates and returns a new instance of BaseController.
UpdateMetric updates a single metric in the storage using the provided BaseController.
# Structs
BaseController is a struct that holds a logger, storage interface, and a path to HTML templates.