MCPcopy
hub / github.com/grafana/tempo / _Querier_SearchRecent_Handler

Function _Querier_SearchRecent_Handler

pkg/tempopb/tempo.pb.go:3345–3361  ·  pkg/tempopb/tempo.pb.go::_Querier_SearchRecent_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

3343}
3344
3345func _Querier_SearchRecent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3346 in := new(SearchRequest)
3347 if err := dec(in); err != nil {
3348 return nil, err
3349 }
3350 if interceptor == nil {
3351 return srv.(QuerierServer).SearchRecent(ctx, in)
3352 }
3353 info := &grpc.UnaryServerInfo{
3354 Server: srv,
3355 FullMethod: "/tempopb.Querier/SearchRecent",
3356 }
3357 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3358 return srv.(QuerierServer).SearchRecent(ctx, req.(*SearchRequest))
3359 }
3360 return interceptor(ctx, in, info, handler)
3361}
3362
3363func _Querier_SearchBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3364 in := new(SearchBlockRequest)

Callers

nothing calls this directly

Calls 1

SearchRecentMethod · 0.65

Tested by

no test coverage detected