Documentation ¶
Overview ¶
Package handler is the handler for the `micro debug trace` service
Index ¶
- type Trace
- func (s *Trace) Read(ctx context.Context, req *trace.ReadRequest, rsp *trace.ReadResponse) error
- func (s *Trace) Start(done <-chan bool)
- func (s *Trace) Stream(ctx context.Context, req *trace.StreamRequest, rsp trace.Trace_StreamStream) error
- func (s *Trace) Write(ctx context.Context, req *trace.WriteRequest, rsp *trace.WriteResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trace ¶
trace is the Debug.trace handler
func (*Trace) Read ¶
func (s *Trace) Read(ctx context.Context, req *trace.ReadRequest, rsp *trace.ReadResponse) error
Read returns gets a snapshot of all current trace3
func (*Trace) Stream ¶
func (s *Trace) Stream(ctx context.Context, req *trace.StreamRequest, rsp trace.Trace_StreamStream) error
Stream starts streaming trace
func (*Trace) Write ¶
func (s *Trace) Write(ctx context.Context, req *trace.WriteRequest, rsp *trace.WriteResponse) error
Click to show internal directories.
Click to hide internal directories.