I did a Go implementation of the Raft distributed consensus protocol. The protocol works similarly to Google's Chubby, Apache Zookeeper and Heroku's doozerd except that it works as an embeddable library and not as a separate server. There's also a reference implementation called raftd.https://github.com/benbjohnson/go-raft
https://github.com/benbjohnson/raftd