Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseWithJSON ¶
func ResponseWithJSON(rsp http.ResponseWriter, response *Response, code int)
Types ¶
type Receiver ¶
type Receiver struct { agent.UnimplementedTraceSegmentReportServiceServer // contains filtered or unexported fields }
func NewReceiver ¶
NewReceiver creates a new Receiver reference.
func (*Receiver) Collect ¶
func (r *Receiver) Collect(stream agent.TraceSegmentReportService_CollectServer) error
Collect implements the service Collect traces func.
func (*Receiver) CollectInSync ¶
func (r *Receiver) CollectInSync(ctx context.Context, segments *agent.SegmentCollection) (*common.Commands, error)
CollectInSync implements the service CollectInSync traces func.
func (*Receiver) HTTPHandler ¶
func (r *Receiver) HTTPHandler(rsp http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.