Documentation ¶
Overview ¶
Package handler implements service debug handler embedded in go-micro services
Index ¶
- type Debug
- func (d *Debug) Health(ctx context.Context, req *pb.HealthRequest, rsp *pb.HealthResponse) error
- func (d *Debug) Log(ctx context.Context, req pb.LogRequest, rsp *pb.LogResponse) error
- func (d *Debug) Stats(ctx context.Context, req *pb.StatsRequest, rsp *pb.StatsResponse) error
- func (d *Debug) Trace(ctx context.Context, req *pb.TraceRequest, rsp *pb.TraceResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debug ¶
type Debug struct { // must honour the debug handler pb.DebugHandler // contains filtered or unexported fields }
func (*Debug) Health ¶
func (d *Debug) Health(ctx context.Context, req *pb.HealthRequest, rsp *pb.HealthResponse) error
func (*Debug) Log ¶
func (d *Debug) Log(ctx context.Context, req pb.LogRequest, rsp *pb.LogResponse) error
Log returns some log lines
func (*Debug) Stats ¶
func (d *Debug) Stats(ctx context.Context, req *pb.StatsRequest, rsp *pb.StatsResponse) error
func (*Debug) Trace ¶
func (d *Debug) Trace(ctx context.Context, req *pb.TraceRequest, rsp *pb.TraceResponse) error
Click to show internal directories.
Click to hide internal directories.