Describe gauge ServeHTTP method
This commit is contained in:
parent
3ca77f9443
commit
001e5430fd
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@ func (g *Gauge) Snapshot() map[string]int {
|
||||||
panic("not implemented")
|
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) {
|
func (g *Gauge) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue