go-micro: github.com/micro/go-micro/debug/service/handler Index | Files

package handler

import "github.com/micro/go-micro/debug/service/handler"

Package handler implements service debug handler embedded in go-micro services


Package Files


type Debug Uses

type Debug struct {
    // must honour the debug handler
    // contains filtered or unexported fields

func NewHandler Uses

func NewHandler() *Debug

NewHandler returns an instance of the Debug Handler

func (*Debug) Health Uses

func (d *Debug) Health(ctx context.Context, req *proto.HealthRequest, rsp *proto.HealthResponse) error

func (*Debug) Log Uses

func (d *Debug) Log(ctx context.Context, stream server.Stream) error

func (*Debug) Stats Uses

func (d *Debug) Stats(ctx context.Context, req *proto.StatsRequest, rsp *proto.StatsResponse) error

func (*Debug) Trace Uses

func (d *Debug) Trace(ctx context.Context, req *proto.TraceRequest, rsp *proto.TraceResponse) error

Package handler imports 7 packages (graph) and is imported by 3 packages. Updated 2020-02-22. Refresh now. Tools for package owners.