micro/server/debug.go
2019-07-28 19:43:50 +01:00

10 lines
197 B
Go

package server
import (
"github.com/micro/go-micro/server/debug"
)
func registerDebugHandler(s Server) {
s.Handle(s.NewHandler(&debug.Debug{s.Options().DebugHandler}, InternalHandler(true)))
}