Documentation ¶
Index ¶
- type Client
- func (_m *Client) ApplySnapshotChunkAsync(_a0 types.RequestApplySnapshotChunk, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) ApplySnapshotChunkSync(_a0 types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (_m *Client) BeginBlockAsync(_a0 abcitypes.RequestBeginBlock, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) BeginBlockSync(_a0 abcitypes.RequestBeginBlock) (*types.ResponseBeginBlock, error)
- func (_m *Client) BeginRecheckTxAsync(_a0 abcitypes.RequestBeginRecheckTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) BeginRecheckTxSync(_a0 abcitypes.RequestBeginRecheckTx) (*abcitypes.ResponseBeginRecheckTx, error)
- func (_m *Client) CheckTxAsync(_a0 types.RequestCheckTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) CheckTxSync(_a0 types.RequestCheckTx) (*abcitypes.ResponseCheckTx, error)
- func (_m *Client) CommitAsync(_a0 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) CommitSync() (*types.ResponseCommit, error)
- func (_m *Client) DeliverTxAsync(_a0 types.RequestDeliverTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) DeliverTxSync(_a0 types.RequestDeliverTx) (*types.ResponseDeliverTx, error)
- func (_m *Client) EchoAsync(_a0 string, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) EchoSync(_a0 string) (*types.ResponseEcho, error)
- func (_m *Client) EndBlockAsync(_a0 types.RequestEndBlock, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) EndBlockSync(_a0 types.RequestEndBlock) (*types.ResponseEndBlock, error)
- func (_m *Client) EndRecheckTxAsync(_a0 abcitypes.RequestEndRecheckTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) EndRecheckTxSync(_a0 abcitypes.RequestEndRecheckTx) (*abcitypes.ResponseEndRecheckTx, error)
- func (_m *Client) Error() error
- func (_m *Client) FlushAsync(_a0 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) FlushSync() (*types.ResponseFlush, error)
- func (_m *Client) GetGlobalCallback() abcicli.GlobalCallback
- func (_m *Client) InfoAsync(_a0 types.RequestInfo, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) InfoSync(_a0 types.RequestInfo) (*types.ResponseInfo, error)
- func (_m *Client) InitChainAsync(_a0 types.RequestInitChain, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) InitChainSync(_a0 types.RequestInitChain) (*types.ResponseInitChain, error)
- func (_m *Client) IsRunning() bool
- func (_m *Client) ListSnapshotsAsync(_a0 types.RequestListSnapshots, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) ListSnapshotsSync(_a0 types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (_m *Client) LoadSnapshotChunkAsync(_a0 types.RequestLoadSnapshotChunk, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) LoadSnapshotChunkSync(_a0 types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (_m *Client) OfferSnapshotAsync(_a0 types.RequestOfferSnapshot, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) OfferSnapshotSync(_a0 types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- func (_m *Client) OnReset() error
- func (_m *Client) OnStart() error
- func (_m *Client) OnStop()
- func (_m *Client) QueryAsync(_a0 types.RequestQuery, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) QuerySync(_a0 types.RequestQuery) (*types.ResponseQuery, error)
- func (_m *Client) Quit() <-chan struct{}
- func (_m *Client) Reset() error
- func (_m *Client) SetGlobalCallback(_a0 abcicli.GlobalCallback)
- func (_m *Client) SetLogger(_a0 log.Logger)
- func (_m *Client) SetOptionAsync(_a0 types.RequestSetOption, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *Client) SetOptionSync(_a0 types.RequestSetOption) (*types.ResponseSetOption, error)
- func (_m *Client) Start() error
- func (_m *Client) Stop() error
- func (_m *Client) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) ApplySnapshotChunkAsync ¶
func (_m *Client) ApplySnapshotChunkAsync(_a0 types.RequestApplySnapshotChunk, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
ApplySnapshotChunkAsync provides a mock function with given fields: _a0, _a1
func (*Client) ApplySnapshotChunkSync ¶
func (_m *Client) ApplySnapshotChunkSync(_a0 types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
ApplySnapshotChunkSync provides a mock function with given fields: _a0
func (*Client) BeginBlockAsync ¶
func (_m *Client) BeginBlockAsync(_a0 abcitypes.RequestBeginBlock, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
BeginBlockAsync provides a mock function with given fields: _a0, _a1
func (*Client) BeginBlockSync ¶
func (_m *Client) BeginBlockSync(_a0 abcitypes.RequestBeginBlock) (*types.ResponseBeginBlock, error)
BeginBlockSync provides a mock function with given fields: _a0
func (*Client) BeginRecheckTxAsync ¶
func (_m *Client) BeginRecheckTxAsync(_a0 abcitypes.RequestBeginRecheckTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
BeginRecheckTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) BeginRecheckTxSync ¶
func (_m *Client) BeginRecheckTxSync(_a0 abcitypes.RequestBeginRecheckTx) (*abcitypes.ResponseBeginRecheckTx, error)
BeginRecheckTxSync provides a mock function with given fields: _a0
func (*Client) CheckTxAsync ¶
func (_m *Client) CheckTxAsync(_a0 types.RequestCheckTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
CheckTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) CheckTxSync ¶
func (_m *Client) CheckTxSync(_a0 types.RequestCheckTx) (*abcitypes.ResponseCheckTx, error)
CheckTxSync provides a mock function with given fields: _a0
func (*Client) CommitAsync ¶
func (_m *Client) CommitAsync(_a0 abcicli.ResponseCallback) *abcicli.ReqRes
CommitAsync provides a mock function with given fields: _a0
func (*Client) CommitSync ¶
func (_m *Client) CommitSync() (*types.ResponseCommit, error)
CommitSync provides a mock function with given fields:
func (*Client) DeliverTxAsync ¶
func (_m *Client) DeliverTxAsync(_a0 types.RequestDeliverTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
DeliverTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) DeliverTxSync ¶
func (_m *Client) DeliverTxSync(_a0 types.RequestDeliverTx) (*types.ResponseDeliverTx, error)
DeliverTxSync provides a mock function with given fields: _a0
func (*Client) EchoSync ¶
func (_m *Client) EchoSync(_a0 string) (*types.ResponseEcho, error)
EchoSync provides a mock function with given fields: _a0
func (*Client) EndBlockAsync ¶
func (_m *Client) EndBlockAsync(_a0 types.RequestEndBlock, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
EndBlockAsync provides a mock function with given fields: _a0, _a1
func (*Client) EndBlockSync ¶
func (_m *Client) EndBlockSync(_a0 types.RequestEndBlock) (*types.ResponseEndBlock, error)
EndBlockSync provides a mock function with given fields: _a0
func (*Client) EndRecheckTxAsync ¶
func (_m *Client) EndRecheckTxAsync(_a0 abcitypes.RequestEndRecheckTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
EndRecheckTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) EndRecheckTxSync ¶
func (_m *Client) EndRecheckTxSync(_a0 abcitypes.RequestEndRecheckTx) (*abcitypes.ResponseEndRecheckTx, error)
EndRecheckTxSync provides a mock function with given fields: _a0
func (*Client) FlushAsync ¶
func (_m *Client) FlushAsync(_a0 abcicli.ResponseCallback) *abcicli.ReqRes
FlushAsync provides a mock function with given fields: _a0
func (*Client) FlushSync ¶
func (_m *Client) FlushSync() (*types.ResponseFlush, error)
FlushSync provides a mock function with given fields:
func (*Client) GetGlobalCallback ¶
func (_m *Client) GetGlobalCallback() abcicli.GlobalCallback
GetGlobalCallback provides a mock function with given fields:
func (*Client) InfoAsync ¶
func (_m *Client) InfoAsync(_a0 types.RequestInfo, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
InfoAsync provides a mock function with given fields: _a0, _a1
func (*Client) InfoSync ¶
func (_m *Client) InfoSync(_a0 types.RequestInfo) (*types.ResponseInfo, error)
InfoSync provides a mock function with given fields: _a0
func (*Client) InitChainAsync ¶
func (_m *Client) InitChainAsync(_a0 types.RequestInitChain, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
InitChainAsync provides a mock function with given fields: _a0, _a1
func (*Client) InitChainSync ¶
func (_m *Client) InitChainSync(_a0 types.RequestInitChain) (*types.ResponseInitChain, error)
InitChainSync provides a mock function with given fields: _a0
func (*Client) ListSnapshotsAsync ¶
func (_m *Client) ListSnapshotsAsync(_a0 types.RequestListSnapshots, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
ListSnapshotsAsync provides a mock function with given fields: _a0, _a1
func (*Client) ListSnapshotsSync ¶
func (_m *Client) ListSnapshotsSync(_a0 types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
ListSnapshotsSync provides a mock function with given fields: _a0
func (*Client) LoadSnapshotChunkAsync ¶
func (_m *Client) LoadSnapshotChunkAsync(_a0 types.RequestLoadSnapshotChunk, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
LoadSnapshotChunkAsync provides a mock function with given fields: _a0, _a1
func (*Client) LoadSnapshotChunkSync ¶
func (_m *Client) LoadSnapshotChunkSync(_a0 types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
LoadSnapshotChunkSync provides a mock function with given fields: _a0
func (*Client) OfferSnapshotAsync ¶
func (_m *Client) OfferSnapshotAsync(_a0 types.RequestOfferSnapshot, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
OfferSnapshotAsync provides a mock function with given fields: _a0, _a1
func (*Client) OfferSnapshotSync ¶
func (_m *Client) OfferSnapshotSync(_a0 types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
OfferSnapshotSync provides a mock function with given fields: _a0
func (*Client) OnStop ¶
func (_m *Client) OnStop()
OnStop provides a mock function with given fields:
func (*Client) QueryAsync ¶
func (_m *Client) QueryAsync(_a0 types.RequestQuery, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
QueryAsync provides a mock function with given fields: _a0, _a1
func (*Client) QuerySync ¶
func (_m *Client) QuerySync(_a0 types.RequestQuery) (*types.ResponseQuery, error)
QuerySync provides a mock function with given fields: _a0
func (*Client) Quit ¶
func (_m *Client) Quit() <-chan struct{}
Quit provides a mock function with given fields:
func (*Client) SetGlobalCallback ¶
func (_m *Client) SetGlobalCallback(_a0 abcicli.GlobalCallback)
SetGlobalCallback provides a mock function with given fields: _a0
func (*Client) SetOptionAsync ¶
func (_m *Client) SetOptionAsync(_a0 types.RequestSetOption, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
SetOptionAsync provides a mock function with given fields: _a0, _a1
func (*Client) SetOptionSync ¶
func (_m *Client) SetOptionSync(_a0 types.RequestSetOption) (*types.ResponseSetOption, error)
SetOptionSync provides a mock function with given fields: _a0