The resignation of senators and representatives in congress and members of the general assembly shall be transmitted to the governor; and in all other cases the resignation of officers shall be transmitted to the officer or tribunal authorized to fill the vacancy.