coreos/etcd — pull request #650 by cenkalti (2014-03-24 17:59:10+00:00)
Title: refactor(main): move main logic to separate package

The use case is to make it easy to embed etcd into another programs.
Currently, the only way of doing this to copy and paste the contents
of the `main()` in etcd.go.
With this commit, contents of the `main()` is moved into `Etcd.Run()`.