The board of supervisors of every county, and the governing authority of every city, town, and village, respectively, may appoint and commission a suitable person to be inspector of food, and said boards may direct, from time to time, what kinds of food shall be inspected.