goraft/raft — pull request #146 by gdb (2014-01-02 07:49:30+00:00)
Title: Make HttpTranporter.Transport into an exported field

With this patch, it becomes possible to use the HTTPTransporter over custom transports, such as Unix sockets.

For a bit more context, I'm currently working on an application where speaking Raft over Unix sockets is necessary, and it's convenient to just keep using HTTP. It's possible (though a bit kludgey) to get http.Client to speak over Unix sockets. With this patch, I've successfully gotten Raft to run over them as well (happy to provide my client code if useful).