Merge pull request #37 from jelmersnoeck/debug-interface
Debug: use the DebugHandler interface.
This commit is contained in:
commit
db8c24a971
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user