shad-go/middleware/httpgauge/httpgauge.go

31 lines
514 B
Go
Raw Permalink Normal View History

2023-03-24 23:08:06 +00:00
//go:build !solution
package httpgauge
import "net/http"
type Gauge struct{}
func New() *Gauge {
panic("not implemented")
}
func (g *Gauge) Snapshot() map[string]int {
panic("not implemented")
}
2023-03-26 12:59:47 +00:00
// ServeHTTP returns accumulated statistics in text format ordered by pattern.
//
// For example:
//
// /a 10
// /b 5
// /c/{id} 7
2023-03-24 23:08:06 +00:00
func (g *Gauge) ServeHTTP(w http.ResponseWriter, r *http.Request) {
panic("not implemented")
}
func (g *Gauge) Wrap(next http.Handler) http.Handler {
panic("not implemented")
}