When any offense is committed in view of any district judge, the judge may, by verbal direction to any deputy, or if no deputy is present, to any citizen, cause such deputy or citizen to arrest such offender, and keep such offender in custody for the space of one hour, unless such offender shall sooner be taken from such custody by virtue of a warrant issued on complaint on oath. But such person so arrested, shall not be confined in jail, nor put upon any trial, until arrested by virtue of such warrant.