Any party dissatisfied with the judgment of a recorder or officer of a municipal corporation charged with the trial of causes may appeal to the next circuit or special court, in all cases in which an appeal is allowed from the judgment of a judge of the court of general sessions, and subject to the same terms and restrictions.