2016-01-06 19:24:54 +00:00
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/micro/go-micro/server/debug"
|
|
|
|
)
|
|
|
|
|
|
|
|
func registerDebugHandler(s Server) {
|
2019-07-28 19:43:50 +01:00
|
|
|
s.Handle(s.NewHandler(&debug.Debug{s.Options().DebugHandler}, InternalHandler(true)))
|
2016-01-06 19:24:54 +00:00
|
|
|
}
|