Versions in this module Expand all Collapse all v1 v1.0.2 Aug 20, 2015 Changes in this version + const AdminApiName + const DbApiName + const DebugApiName + const EthApiName + const JsonRpcVersion + const MergedApiName + const MinerApiName + const NetApiName + const PersonalApiName + const ShhApiName + const TxPoolApiName + const Web3ApiName + var AllApis = strings.Join([]string{ ... }, ",") + func NewDecodeParamError(errstr string) error + func NewRpcErrorResponse(id interface{}, jsonrpcver string, errCode int, err error) *interface + func NewRpcResponse(id interface{}, jsonrpcver string, reply interface{}, err error) *interface + func NewValidationError(param string, msg string) error + type DecodeParamError struct + func (e *DecodeParamError) Error() string + type ErrorObject struct + Code int + Message string + type ErrorResponse struct + Error *ErrorObject + Id interface{} + Jsonrpc string + type EthereumApi interface + ApiVersion func() string + Execute func(*Request) (interface{}, error) + Methods func() []string + Name func() string + type InsufficientParamsError struct + func NewInsufficientParamsError(have int, want int) *InsufficientParamsError + func (e *InsufficientParamsError) Error() string + type InvalidTypeError struct + func NewInvalidTypeError(method, msg string) *InvalidTypeError + func (e *InvalidTypeError) Error() string + type NotAvailableError struct + Method string + Reason string + func NewNotAvailableError(method string, reason string) *NotAvailableError + func (e *NotAvailableError) Error() string + type NotImplementedError struct + Method string + func NewNotImplementedError(method string) *NotImplementedError + func (e *NotImplementedError) Error() string + type Request struct + Id interface{} + Jsonrpc string + Method string + Params json.RawMessage + type Response struct + Id interface{} + Jsonrpc string + type SuccessResponse struct + Id interface{} + Jsonrpc string + Result interface{} + type ValidationError struct + ParamName string + func (e *ValidationError) Error() string