Add debug => go-debug
This commit is contained in:
17
debug/handler/http/http.go
Normal file
17
debug/handler/http/http.go
Normal 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":
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user