Were they going to attack you? You never really know until it happens. A pack of dogs like this can really ruin a ride. You should let the local animal control office/group know of the problem, even the owner of the dogs if you have an idea as to who it would be. Pepper spray is my solution to a pack of dogs, realizing there are issues of wind. But the idea of being chewed on by several dogs is not appealing to me. Others will suggest of dismounting, keeping your bike between you and the dogs, but a pack of dogs are a problem.