Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RpcclientTimeout VERSION represents bicoind package version // Version = 0.1 // RpcclientTimeout DEFAULT_RPCCLIENT_TIMEOUT represent http timeout for rcp client RpcclientTimeout = 15 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Coind ¶
type Coind struct {
// contains filtered or unexported fields
}
Coind A Bitcoind represents a Bitcoind client
type RPCError ¶
type RPCError struct { Code RPCErrorCode `json:"code,omitempty"` Message string `json:"message,omitempty"` }
RPCError represents an error that is used as a part of a JSON-RPC Response object.
type RPCErrorCode ¶
type RPCErrorCode int
RPCErrorCode represents an error code to be used as a part of an RPCError which is in turn used in a JSON-RPC Response object.
A specific type is used to help ensure the wrong errs aren't used.
Click to show internal directories.
Click to hide internal directories.