add ServeHTTP to Registry interface

This commit is contained in:
Alfred Landrum 2016-04-19 08:56:58 -07:00
parent c8f5657d5f
commit 2cfc8e2e9e
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ type Registry interface {
RegisterOrGet(c Collector) (Collector, error)
Unregister(c Collector) bool
Push(job, instance, pushURL, method string) error
ServeHTTP(w http.ResponseWriter, req *http.Request)
}
// UninstrumentedHandler works in the same way as Handler, but the returned HTTP