For attendance in any court, or before referees under a rule of court, or before a justice in case of forcible entry, or landlord vs. tenant, or before a county governing body, or before a Commissioner, Register in Chancery, or Prothonotary, executing a commission or rule for taking depositions, or before either House of the General Assembly, or a committee appointed by either House, each day $2, and 3 cents per mile going and returning.
Attendance before a justice of the peace, or before 2 justices, in all cases except as before provided for, 50 cents, and 2 cents per mile going and returning.
A person who has been committed in default of a recognizance to appear as a witness in a criminal case, shall, for the time the person is detained, receive such compensation as the court allows.
10 Del. C. § 8903