By the Keokuk ordinance wharfage fees were charged whenever a steamboat should make fast to any part of the wharf of that city, or to any vessel, or other thing at or upon said wharf, or should receive or discharge any passengers or freight thereon, or should use any part of the wharf for the purpose of discharging, receiving, or landing any freight or passenger-the fees, in such cases, to be meas