Any commissioner who neglects or refuses, without just cause therefor, to perform any duty imposed on him, or who willfully violates any law provided for his government as such officer, or fraudulently or corruptly performs any duty imposed on him, or willfully, fraudulently or corruptly attempts to perform an act, as commissioner, unauthorized by law, shall be guilty of a misdemeanor.