Documentation ¶
Overview ¶
Package handler implements service debug handler embedded in vine services
Index ¶
- type Debug
- func (d *Debug) Health(ctx context.Context, req *proto.HealthRequest, rsp *proto.HealthResponse) error
- func (d *Debug) Log(ctx context.Context, stream server.Stream) error
- func (d *Debug) Stats(ctx context.Context, req *proto.StatsRequest, rsp *proto.StatsResponse) error
- func (d *Debug) Trace(ctx context.Context, req *proto.TraceRequest, rsp *proto.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 proto.DebugHandler // contains filtered or unexported fields }
func NewHandler ¶
NewHandler returns an instance of the Debug Handler
func (*Debug) Health ¶
func (d *Debug) Health(ctx context.Context, req *proto.HealthRequest, rsp *proto.HealthResponse) error
func (*Debug) Stats ¶
func (d *Debug) Stats(ctx context.Context, req *proto.StatsRequest, rsp *proto.StatsResponse) error
func (*Debug) Trace ¶
func (d *Debug) Trace(ctx context.Context, req *proto.TraceRequest, rsp *proto.TraceResponse) error
Click to show internal directories.
Click to hide internal directories.