Versions in this module Expand all Collapse all v0 v0.4.1 Dec 25, 2018 v0.4.0 Dec 24, 2018 Changes in this version + func ResponseWrapper(cdc *amino.Codec, result interface{}, err error) ([]byte, error) + type RPCError struct + Code int + Data string + Message string + type RPCResponse struct + Error *RPCError + ID string + JSONRPC string + Result json.RawMessage + func NewRPCErrorResponse(id string, code int, msg string, data string) RPCResponse + func NewRPCSuccessResponse(cdc *amino.Codec, id string, res interface{}) RPCResponse + func RPCInternalError(id string, err error) RPCResponse