(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 1437 | } |
| 1438 | |
| 1439 | func _Worker_MovePredicate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1440 | in := new(MovePredicatePayload) |
| 1441 | if err := dec(in); err != nil { |
| 1442 | return nil, err |
| 1443 | } |
| 1444 | if interceptor == nil { |
| 1445 | return srv.(WorkerServer).MovePredicate(ctx, in) |
| 1446 | } |
| 1447 | info := &grpc.UnaryServerInfo{ |
| 1448 | Server: srv, |
| 1449 | FullMethod: Worker_MovePredicate_FullMethodName, |
| 1450 | } |
| 1451 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1452 | return srv.(WorkerServer).MovePredicate(ctx, req.(*MovePredicatePayload)) |
| 1453 | } |
| 1454 | return interceptor(ctx, in, info, handler) |
| 1455 | } |
| 1456 | |
| 1457 | func _Worker_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 1458 | m := new(SubscriptionRequest) |
nothing calls this directly
no test coverage detected