Add debug => go-debug

This commit is contained in:
Asim Aslam
2019-05-31 01:22:19 +01:00
parent 95d134b57e
commit f2139e2a16
13 changed files with 1023 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// Package http provides http handlers
package http
import (
"net/http"
)
type Handler struct{}
func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
switch r.URL.Path {
case "/debug/health":
case "/debug/log":
case "/debug/stats":
case "/debug/trace":
}
}