func _Catalog_QueryOperations_Handler()

in api/proto/catalog_grpc.pb.go [121:137]


func _Catalog_QueryOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryOperationsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(CatalogServer).QueryOperations(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/eventmesh.catalog.api.protocol.Catalog/QueryOperations",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(CatalogServer).QueryOperations(ctx, req.(*QueryOperationsRequest))
	}
	return interceptor(ctx, in, info, handler)
}