msgpack/msgpack-rpc — pull request #52 by dgryski (2012-04-08 06:48:16+00:00)
Title: Go version: idiomatic cleanup and fixes

This is a rework of my pull request #46.

It contains a number of small bug fixes and some code simplifications.

The major work is fixing the coercion logic to work nicely with Go's type system. However, the current code only works for functions accepting and returning integers. Ideally we would want the RPC system to be able to handle arbitrary Go types, in fact any that are accepted by the msgpack library. For that work, we need generic un/marshal routines like the ones I've written for https://github.com/dgryski/dmsgpack . That library is currently under the GPLv3, but I would relicense it under BSD or whatever is appropriate for inclusion with the 'main' msgpack-rpc library.