Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCRequest ¶
type RPCResponse ¶
type RPCResponse struct { JSONRPC string `json:"jsonrpc"` ID string `json:"id"` Result interface{} `json:"result"` Error string `json:"error"` }
func NewRPCResponse ¶
func NewRPCResponse(id string, res interface{}, err string) RPCResponse
Click to show internal directories.
Click to hide internal directories.