raft: add Configure

Configuration change
if you want to group things, please add the group as prefix. It is a convention in golang. You should remember StatusOK/StatusNotFound, but not OKStatus.