Describe gauge ServeHTTP method

This commit is contained in:
Fedor Korotkiy 2023-03-26 16:59:47 +04:00
parent 3ca77f9443
commit 001e5430fd

View file

@ -14,6 +14,13 @@ func (g *Gauge) Snapshot() map[string]int {
panic("not implemented")
}
// ServeHTTP returns accumulated statistics in text format ordered by pattern.
//
// For example:
//
// /a 10
// /b 5
// /c/{id} 7
func (g *Gauge) ServeHTTP(w http.ResponseWriter, r *http.Request) {
panic("not implemented")
}