dcrd/rpc/jsonrpc/types
2021-05-13 16:00:22 -05:00
..
chainsvrcmds_test.go rpc/jsonrpc/types: Remove v1 getcfilter{,header}. 2021-01-02 12:38:33 -06:00
chainsvrcmds.go rpc/jsonrpc/types: Add invalidate/reconsiderblock. 2021-01-07 17:48:16 -06:00
chainsvrresults_test.go multi: Add tx inputs treasuryspend RPC support. 2020-11-24 04:27:07 -06:00
chainsvrresults.go rpcserver: Add script version to gettxout. 2021-05-13 16:00:22 -05:00
chainsvrwscmds_test.go rpc/jsonrpc/types: Remove notifystakedifficulty. 2020-12-28 18:26:58 -06:00
chainsvrwscmds.go rpc/jsonrpc/types: Remove notifystakedifficulty. 2020-12-28 18:26:58 -06:00
chainsvrwsntfns_test.go rpc/jsonrpc/types: Prepare v2.1.0. 2020-09-26 11:16:08 -05:00
chainsvrwsntfns.go rpc/jsonrpc/types: Remove notifystakedifficulty. 2020-12-28 18:26:58 -06:00
chainsvrwsresults.go jsonrpc/types: Update copyright years. 2019-07-22 17:31:40 -05:00
doc.go multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
go.mod rpc/jsonrpc/types: Start v3 module dev cycle. 2020-12-23 23:23:08 -06:00
go.sum rpc/jsonrpc/types: Prepare v2.1.0. 2020-09-26 11:16:08 -05:00
helpers.go jsonrpc/types: Update copyright years. 2019-07-22 17:31:40 -05:00
method.go dcrjson: Introduce v3 and move types to module. 2019-07-19 08:49:49 -05:00
README.md multi: Update README.md files for go modules. 2021-01-22 14:39:23 -06:00

jsonrpc/types

Build Status ISC License Doc

Package types implements concrete types for marshalling to and from the dcrd JSON-RPC commands, return values, and notifications. A comprehensive suite of tests is provided to ensure proper functionality.

The provided types are automatically registered with dcrjson when the package is imported. Although this package was primarily written for dcrd, it has intentionally been designed so it can be used as a standalone package for any projects needing to marshal to and from dcrd JSON-RPC requests and responses.

Installation and Updating

This package is part of the github.com/decred/dcrd/rpc/jsonrpc/types/v2 module. Use the standard go tooling for working with modules to incorporate it.

License

Package types is licensed under the copyfree ISC License.