micro/server/grpc/debug.go

11 lines
245 B
Go
Raw Normal View History

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