# Functions
GetProtocol gets JSON RPC protocol.
NewError creates a error with @code and @message.
NewHTTPClient creates a new HTTP client with HTTPOptions.
NewJsonrpcExporter creates JSON RPC exporter with @key, @invoker and @exporterMap.
NewJsonrpcInvoker creates JSON RPC invoker with @url and @client.
NewJsonrpcProtocol creates JSON RPC protocol.
NewServer creates new JSON RPC server.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Errors defined in the JSON-RPC spec.
DefaultHTTPRspBufferSize ...
DefaultMaxSleepTime max sleep interval in accept.
JSONRPCmodule name.
MAX_JSONRPC_ID max jsonrpc request/response id.
PathPrefix ...
VERSION jsonrpc version.
# Variables
Version is json RPC's version.
# Structs
CodecData is codec data for json RPC.
Error response Error.
HTTPClient is a HTTP client ,include ID and options.
HTTPOptions is a HTTP option include HandshakeTimeout and HTTPTimeout.
JsonrpcExporter is JSON RPC exporter and extends from base invoker.
JsonrpcInvoker is JSON RPC invoker.
JsonrpcProtocol is JSON RPC protocol.
//////////////////////////////////////////// Request //////////////////////////////////////////// Request is HTTP protocol request.
Server is JSON RPC server wrapper.
ServerCodec is codec data for request server.