Stanislav N. aka pztrn
529113a41a
Metrics data now stored as structures. This is a first step for autodiscovery helping for NMSes. HTTP requests now logged. Got rid of context.Context for getting metric data in applications because context.Context is useless here.
7 lines
200 B
Go
7 lines
200 B
Go
package common
|
|
|
|
import "go.dev.pztrn.name/metricator/internal/models"
|
|
|
|
// HTTPHandlerFunc describes signature of HTTP requests handling function.
|
|
type HTTPHandlerFunc func(*models.RequestInfo) string
|