Files
weave-scope/app/api_report.go
2015-05-19 10:02:02 +00:00

14 lines
268 B
Go

package main
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())
}
}