coreos/etcd — pull request #1096 by jonboulle (2014-09-26 08:55:34+00:00)
Title: embedded etcd

Goal:
main.go should be as simple as
```go
etcd := NewServer(config)
go log.Fatal(http.ListenAndServe(addr, etcd.peerHandler))
log.Fatal(http.ListenAndServe(addr, etcd.clientHandler))
```