(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 6603 | } |
| 6604 | |
| 6605 | func _Worker_UpdateGraphQLSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 6606 | in := new(UpdateGraphQLSchemaRequest) |
| 6607 | if err := dec(in); err != nil { |
| 6608 | return nil, err |
| 6609 | } |
| 6610 | if interceptor == nil { |
| 6611 | return srv.(WorkerServer).UpdateGraphQLSchema(ctx, in) |
| 6612 | } |
| 6613 | info := &grpc.UnaryServerInfo{ |
| 6614 | Server: srv, |
| 6615 | FullMethod: "/pb.Worker/UpdateGraphQLSchema", |
| 6616 | } |
| 6617 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 6618 | return srv.(WorkerServer).UpdateGraphQLSchema(ctx, req.(*UpdateGraphQLSchemaRequest)) |
| 6619 | } |
| 6620 | return interceptor(ctx, in, info, handler) |
| 6621 | } |
| 6622 | |
| 6623 | var _Worker_serviceDesc = grpc.ServiceDesc{ |
| 6624 | ServiceName: "pb.Worker", |
nothing calls this directly
no test coverage detected