| 3306 | } |
| 3307 | |
| 3308 | func _Ingester_UserStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3309 | in := new(UserStatsRequest) |
| 3310 | if err := dec(in); err != nil { |
| 3311 | return nil, err |
| 3312 | } |
| 3313 | if interceptor == nil { |
| 3314 | return srv.(IngesterServer).UserStats(ctx, in) |
| 3315 | } |
| 3316 | info := &grpc.UnaryServerInfo{ |
| 3317 | Server: srv, |
| 3318 | FullMethod: "/cortex.Ingester/UserStats", |
| 3319 | } |
| 3320 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3321 | return srv.(IngesterServer).UserStats(ctx, req.(*UserStatsRequest)) |
| 3322 | } |
| 3323 | return interceptor(ctx, in, info, handler) |
| 3324 | } |
| 3325 | |
| 3326 | func _Ingester_AllUserStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3327 | in := new(UserStatsRequest) |