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