(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 3343 | } |
| 3344 | |
| 3345 | func _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 | |
| 3363 | func _Querier_SearchBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3364 | in := new(SearchBlockRequest) |
nothing calls this directly
no test coverage detected