package
3.0.3+incompatible
Repository: https://github.com/devimteam/jsonrpc.git
Documentation: pkg.go.dev
# Functions
DecodeClientResponse decodes the response body of a client request into the interface reply.
EncodeClientRequest encodes parameters for a JSON-RPC client request.
NewCodec returns a new JSON Codec.
NewCustomCodec returns a new JSON Codec based on passed encoder selector.
NewError create a new error.
No description provided by the author
# Constants
ErrBadParams Invalid method parameter(s).
ErrInternal Internal JSON-RPC error.
ErrInvalidRequest The JSON sent is not a valid Request object.
ErrMethodNotFound The method does not exist / is not available.
ErrParse Invalid JSON was received by the server.
ErrServer Reserved for implementation-defined server-errors.
# Structs
Codec creates a CodecRequest to process each request.
CodecRequest decodes and encodes a single request.
EmptyResponse empty response.
Error JSON RPC error structure.