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