{"modulePath":"github.com/printfcoder/go-micro","version":"v0.23.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package debug\n\n## Types\n\n```go\ntype DebugHandler interface {\n\tHealth(ctx context.Context, req *proto.HealthRequest, rsp *proto.HealthResponse) error\n\tStats(ctx context.Context, req *proto.StatsRequest, rsp *proto.StatsResponse) error\n}\n```\nThe debug handler represents an internal server handler used to determine health, status and env info about a service node. It's akin to Google's /statusz, /healthz, and /varz\n\n```go\nvar (\n\tDefaultDebugHandler DebugHandler = newDebug()\n)\n```\n\n","path":"github.com/printfcoder/go-micro/server/debug","name":"debug","synopsis":"","isRedistributable":true}
