Documentation ¶
Index ¶
- type QuorumClient
- func (qc *QuorumClient) RPCCall(result interface{}, method string, args ...interface{}) error
- func (qc *QuorumClient) RPCCallWithTimeout(timeout time.Duration, result interface{}, method string, args ...interface{}) error
- func (qc *QuorumClient) Stop()
- func (qc *QuorumClient) SubscribeChainHead(ch chan<- types.RawHeader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuorumClient ¶
type QuorumClient struct {
// contains filtered or unexported fields
}
QuorumClient provides access to quorum blockchain node.
func NewQuorumClient ¶
func NewQuorumClient(rawUrl string) (*QuorumClient, error)
func (*QuorumClient) RPCCall ¶
func (qc *QuorumClient) RPCCall(result interface{}, method string, args ...interface{}) error
Execute customized rpc call.
func (*QuorumClient) RPCCallWithTimeout ¶
func (qc *QuorumClient) RPCCallWithTimeout(timeout time.Duration, result interface{}, method string, args ...interface{}) error
func (*QuorumClient) Stop ¶
func (qc *QuorumClient) Stop()
func (*QuorumClient) SubscribeChainHead ¶
func (qc *QuorumClient) SubscribeChainHead(ch chan<- types.RawHeader) error
Subscribe to chain head event.
Click to show internal directories.
Click to hide internal directories.