This updates the rpc/jsonrpc/types module dependencies, the copyright year in the files modified since the previous release, and serves as a base for rpc/jsonrpc/types/v3.0.0. The updated direct dependencies in this commit are as follows: - github.com/decred/dcrd/dcrjson/v4@v4.0.0 The full list of updated direct dependencies since the previous rpc/jsonrpc/types/v2.3.0 release are the same as above. |
||
|---|---|---|
| .. | ||
| chainsvrcmds_test.go | ||
| chainsvrcmds.go | ||
| chainsvrresults_test.go | ||
| chainsvrresults.go | ||
| chainsvrwscmds_test.go | ||
| chainsvrwscmds.go | ||
| chainsvrwsntfns_test.go | ||
| chainsvrwsntfns.go | ||
| chainsvrwsresults.go | ||
| doc.go | ||
| go.mod | ||
| go.sum | ||
| helpers.go | ||
| method.go | ||
| README.md | ||
jsonrpc/types
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.