a simple paxos library by golang