(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 4006 | } |
| 4007 | |
| 4008 | func _Metrics_QueryRange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4009 | in := new(QueryRangeRequest) |
| 4010 | if err := dec(in); err != nil { |
| 4011 | return nil, err |
| 4012 | } |
| 4013 | if interceptor == nil { |
| 4014 | return srv.(MetricsServer).QueryRange(ctx, in) |
| 4015 | } |
| 4016 | info := &grpc.UnaryServerInfo{ |
| 4017 | Server: srv, |
| 4018 | FullMethod: "/tempopb.Metrics/QueryRange", |
| 4019 | } |
| 4020 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4021 | return srv.(MetricsServer).QueryRange(ctx, req.(*QueryRangeRequest)) |
| 4022 | } |
| 4023 | return interceptor(ctx, in, info, handler) |
| 4024 | } |
| 4025 | |
| 4026 | var _Metrics_serviceDesc = grpc.ServiceDesc{ |
| 4027 | ServiceName: "tempopb.Metrics", |
nothing calls this directly
no test coverage detected