mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
14 lines
267 B
Go
14 lines
267 B
Go
package app
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
// Raw report handler
|
|
func makeRawReportHandler(rep Reporter) func(http.ResponseWriter, *http.Request) {
|
|
return func(w http.ResponseWriter, r *http.Request) {
|
|
// r.ParseForm()
|
|
respondWith(w, http.StatusOK, rep.Report())
|
|
}
|
|
}
|