fix(server.go) we should clean the commit channle after the receiver receives the message; or the receiver might receive on a nil channel, which will cause timeout
Merge pull request #143 from goraft/fix_race

fix(server.go)
Add election threshold and heartbeat timeout events.
Merge branch 'master' of https://github.com/goraft/raft
Merge branch 'master' of https://github.com/goraft/raft
Merge pull request #144 from goraft/election-heartbeat-events

Election Threshold and Heartbeat Timeout Event Types
Merge branch 'master' of https://github.com/goraft/raft
remove command timeout
Make HttpTranporter.Transport into an exported field

With this patch, it becomes possible to use the HTTPTransporter over
custom transports, such as Unix sockets.
Merge pull request #146 from gdb/master

Make HttpTranporter.Transport into an exported field
Merge pull request #145 from goraft/remove_timeout

remove command timeout
Merge branch 'master' of https://github.com/goraft/raft