bitcoinrpc

package module
v0.0.0-...-f0a1813 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2013 License: BSD-3-Clause Imports: 5 Imported by: 0

README

go-bitcoinrpc

Simple, go-get-able Bitcoind HTTP RPC library based on ThePiachu's Go-HTTP-JSON-RPC.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostContents

func PostContents(p Postable, data []byte) ([]byte, error)

Types

type Postable

type Postable interface {
	Post(r io.Reader) (*http.Response, error)
}

type RPCCall

type RPCCall struct {
	Method string
	Id     interface{}
	Params []interface{}
}

type RPCResponse

type RPCResponse map[string]interface{}

func Call

func Call(p Postable, call_params RPCCall) (RPCResponse, error)

type StandalonePoster

type StandalonePoster struct {
	Address string
}

func (StandalonePoster) Post

func (p StandalonePoster) Post(r io.Reader) (*http.Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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