Merge pull request #37 from jelmersnoeck/debug-interface

Debug: use the DebugHandler interface.
This commit is contained in:
Asim 2016-01-07 17:55:54 +00:00
commit db8c24a971

View File

@ -18,7 +18,7 @@ type DebugHandler interface {
type debug struct{} type debug struct{}
var ( var (
DefaultDebugHandler = new(debug) DefaultDebugHandler DebugHandler = new(debug)
) )
func (d *debug) Health(ctx context.Context, req *proto.HealthRequest, rsp *proto.HealthResponse) error { func (d *debug) Health(ctx context.Context, req *proto.HealthRequest, rsp *proto.HealthResponse) error {