| 1484 | } |
| 1485 | |
| 1486 | func _SumService_Run_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1487 | in := new(Call) |
| 1488 | if err := dec(in); err != nil { |
| 1489 | return nil, err |
| 1490 | } |
| 1491 | if interceptor == nil { |
| 1492 | return srv.(SumServiceServer).Run(ctx, in) |
| 1493 | } |
| 1494 | info := &grpc.UnaryServerInfo{ |
| 1495 | Server: srv, |
| 1496 | FullMethod: "/sum.SumService/Run", |
| 1497 | } |
| 1498 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1499 | return srv.(SumServiceServer).Run(ctx, req.(*Call)) |
| 1500 | } |
| 1501 | return interceptor(ctx, in, info, handler) |
| 1502 | } |
| 1503 | |
| 1504 | func _SumService_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1505 | in := new(Empty) |