A city of the primary class shall have the power to provide for the erection of all needful pens, pounds, and buildings for the use of the city, within or without such city limits, to appoint and compensate keepers thereof, and to establish and enforce rules governing such pens, pounds, and buildings.
Neb. Rev. Stat. §§ 15-219