coreos/etcd — pull request #1626 by jonboulle (2014-11-06 06:46:45+00:00)
Title: discovery: simplify interface

There's no real need to expose a Discoverer interface/struct when the only use
of the interface (and indeed the module) is to invoke a single function. This
isn't Java, after all. So instead, simplify to Discovery exposing just two
functions: JoinCluster (i.e. what was formerly called
"discovery"), and GetCluster (hitherto "ProxyDiscovery")