MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / _Worker_MovePredicate_Handler

Function _Worker_MovePredicate_Handler

bitmap/pb.pb.go:6566–6582  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

6564}
6565
6566func _Worker_MovePredicate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
6567 in := new(MovePredicatePayload)
6568 if err := dec(in); err != nil {
6569 return nil, err
6570 }
6571 if interceptor == nil {
6572 return srv.(WorkerServer).MovePredicate(ctx, in)
6573 }
6574 info := &grpc.UnaryServerInfo{
6575 Server: srv,
6576 FullMethod: "/pb.Worker/MovePredicate",
6577 }
6578 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
6579 return srv.(WorkerServer).MovePredicate(ctx, req.(*MovePredicatePayload))
6580 }
6581 return interceptor(ctx, in, info, handler)
6582}
6583
6584func _Worker_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error {
6585 m := new(SubscriptionRequest)

Callers

nothing calls this directly

Calls 1

MovePredicateMethod · 0.65

Tested by

no test coverage detected