mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
Debug: use the DebugHandler interface.
Without specifying the interface, DefaultDebugHandler has to be of type *"github.com/micro/go-micro/server/debug".debug.
This commit is contained in:
parent
7401c44973
commit
3cefc39aff
@ -18,7 +18,7 @@ type DebugHandler interface {
|
||||
type debug struct{}
|
||||
|
||||
var (
|
||||
DefaultDebugHandler = new(debug)
|
||||
DefaultDebugHandler DebugHandler = new(debug)
|
||||
)
|
||||
|
||||
func (d *debug) Health(ctx context.Context, req *proto.HealthRequest, rsp *proto.HealthResponse) error {
|
||||
|
Loading…
Reference in New Issue
Block a user