Documentation ¶
Index ¶
- type IdentityClient
- type RPCClient
- func (_m *RPCClient) Close() error
- func (_m *RPCClient) Invoke(channelId string, signer string, chaincodeName string, method string, ...) (*client.TxReceipt, error)
- func (_m *RPCClient) Query(channelId string, signer string, chaincodeName string, method string, ...) ([]byte, error)
- func (_m *RPCClient) QueryBlock(channelId string, signer string, blocknumber uint64, blockhash []byte) (*utils.RawBlock, *utils.Block, error)
- func (_m *RPCClient) QueryBlockByTxId(channelId string, signer string, txId string) (*utils.RawBlock, *utils.Block, error)
- func (_m *RPCClient) QueryChainInfo(channelId string, signer string) (*fab.BlockchainInfoResponse, error)
- func (_m *RPCClient) QueryTransaction(channelId string, signer string, txId string) (map[string]interface{}, error)
- func (_m *RPCClient) SubscribeEvent(subInfo *api.SubscriptionInfo, since uint64) (*client.RegistrationWrapper, <-chan *fab.BlockEvent, <-chan *fab.CCEvent, ...)
- func (_m *RPCClient) Unregister(_a0 *client.RegistrationWrapper)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityClient ¶
IdentityClient is an autogenerated mock type for the IdentityClient type
func (*IdentityClient) GetClientOrg ¶
func (_m *IdentityClient) GetClientOrg() string
GetClientOrg provides a mock function with given fields:
func (*IdentityClient) GetSigningIdentity ¶
func (_m *IdentityClient) GetSigningIdentity(name string) (msp.SigningIdentity, error)
GetSigningIdentity provides a mock function with given fields: name
type RPCClient ¶
RPCClient is an autogenerated mock type for the RPCClient type
func (*RPCClient) Invoke ¶
func (_m *RPCClient) Invoke(channelId string, signer string, chaincodeName string, method string, args []string, isInit bool) (*client.TxReceipt, error)
Invoke provides a mock function with given fields: channelId, signer, chaincodeName, method, args, isInit
func (*RPCClient) Query ¶
func (_m *RPCClient) Query(channelId string, signer string, chaincodeName string, method string, args []string, strongread bool) ([]byte, error)
Query provides a mock function with given fields: channelId, signer, chaincodeName, method, args, strongread
func (*RPCClient) QueryBlock ¶ added in v0.9.6
func (_m *RPCClient) QueryBlock(channelId string, signer string, blocknumber uint64, blockhash []byte) (*utils.RawBlock, *utils.Block, error)
QueryBlock provides a mock function with given fields: channelId, signer, blocknumber, blockhash
func (*RPCClient) QueryBlockByTxId ¶ added in v0.9.12
func (_m *RPCClient) QueryBlockByTxId(channelId string, signer string, txId string) (*utils.RawBlock, *utils.Block, error)
QueryBlockByTxId provides a mock function with given fields: channelId, signer, txId
func (*RPCClient) QueryChainInfo ¶
func (_m *RPCClient) QueryChainInfo(channelId string, signer string) (*fab.BlockchainInfoResponse, error)
QueryChainInfo provides a mock function with given fields: channelId, signer
func (*RPCClient) QueryTransaction ¶ added in v0.9.4
func (_m *RPCClient) QueryTransaction(channelId string, signer string, txId string) (map[string]interface{}, error)
QueryTransaction provides a mock function with given fields: channelId, signer, txId
func (*RPCClient) SubscribeEvent ¶
func (_m *RPCClient) SubscribeEvent(subInfo *api.SubscriptionInfo, since uint64) (*client.RegistrationWrapper, <-chan *fab.BlockEvent, <-chan *fab.CCEvent, error)
SubscribeEvent provides a mock function with given fields: subInfo, since
func (*RPCClient) Unregister ¶
func (_m *RPCClient) Unregister(_a0 *client.RegistrationWrapper)
Unregister provides a mock function with given fields: _a0