Branch: refs/heads/master
Home: https://github.com/conformal/btcjson
Commit: 31a354e58581b8c659eae665e1346360867403af
https://github.com/conformal/btcjson/commit/31a354e58581b8c659eae665e1346360867403af
Author: Dave Collins <[email protected]>
Date: 2014-04-11 (Fri, 11 Apr 2014)
Changed paths:
M jsoncmd.go
M jsonresults.go
M test_coverage.txt
Log Message:
-----------
Add support for registering custom reply parsers.
This commit extends the RegisterCustomCmd function to also accept a reply
parser which will be invoked for replies to the custom command via
ReadResultCmd. This allows replies to custom commands to be returned a
concrete structs instead of map[string]interface{}.
ok @jcvernaleo, @jrick