rpcclient

package module
v0.0.0-...-63670cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendRPCRequest

func SendRPCRequest(req interface{}) (map[string]interface{}, error)

Types

type RPCRequest

type RPCRequest struct {
	Method string      `json:"method"`
	Params interface{} `json:"params"`
	Id     string      `json:"id"`
}

type RPCResponse

type RPCResponse struct {
	Result interface{} `json:"result"`
	Error  string      `json:"error"`
	Id     string      `json:"id"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL