docker/libswarm — pull request #115 by aanand (2014-07-16 20:05:09+00:00)
Title: WIP: Use new libchan interface

Not quite ready yet - a few `panic("not implemented")`s still in there.

Summary of the important changes to libchan:

- Messages are now arbitrary structs, **which can contain channels and byte streams** (libchan.Sender, libchan.Receiver, io.ReadWriteCloser). libchan encodes and decodes them using msgpack.
- Conveniences such as `Ret`, `RetPipe` and `Handler` are gone, so they are implemented in libswarm.