Documentation ¶
Index ¶
- type AppConnConsensus
- func (_m *AppConnConsensus) BeginBlockSync(_a0 types.RequestBeginBlock) (*abcitypes.ResponseBeginBlock, error)
- func (_m *AppConnConsensus) CommitSync() (*abcitypes.ResponseCommit, error)
- func (_m *AppConnConsensus) DeliverTxAsync(_a0 abcitypes.RequestDeliverTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *AppConnConsensus) EndBlockSync(_a0 abcitypes.RequestEndBlock) (*abcitypes.ResponseEndBlock, error)
- func (_m *AppConnConsensus) Error() error
- func (_m *AppConnConsensus) InitChainSync(_a0 abcitypes.RequestInitChain) (*abcitypes.ResponseInitChain, error)
- func (_m *AppConnConsensus) SetGlobalCallback(_a0 abcicli.GlobalCallback)
- type AppConnMempool
- func (_m *AppConnMempool) BeginRecheckTxSync(_a0 types.RequestBeginRecheckTx) (*types.ResponseBeginRecheckTx, error)
- func (_m *AppConnMempool) CheckTxAsync(_a0 abcitypes.RequestCheckTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *AppConnMempool) CheckTxSync(_a0 abcitypes.RequestCheckTx) (*types.ResponseCheckTx, error)
- func (_m *AppConnMempool) EndRecheckTxSync(_a0 types.RequestEndRecheckTx) (*types.ResponseEndRecheckTx, error)
- func (_m *AppConnMempool) Error() error
- func (_m *AppConnMempool) FlushAsync(_a0 abcicli.ResponseCallback) *abcicli.ReqRes
- func (_m *AppConnMempool) FlushSync() (*abcitypes.ResponseFlush, error)
- func (_m *AppConnMempool) SetGlobalCallback(_a0 abcicli.GlobalCallback)
- type AppConnQuery
- type AppConnSnapshot
- func (_m *AppConnSnapshot) ApplySnapshotChunkSync(_a0 types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (_m *AppConnSnapshot) Error() error
- func (_m *AppConnSnapshot) ListSnapshotsSync(_a0 types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (_m *AppConnSnapshot) LoadSnapshotChunkSync(_a0 types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (_m *AppConnSnapshot) OfferSnapshotSync(_a0 types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- type ClientCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConnConsensus ¶
AppConnConsensus is an autogenerated mock type for the AppConnConsensus type
func NewAppConnConsensus ¶
func NewAppConnConsensus(t interface { mock.TestingT Cleanup(func()) }) *AppConnConsensus
NewAppConnConsensus creates a new instance of AppConnConsensus. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AppConnConsensus) BeginBlockSync ¶
func (_m *AppConnConsensus) BeginBlockSync(_a0 types.RequestBeginBlock) (*abcitypes.ResponseBeginBlock, error)
BeginBlockSync provides a mock function with given fields: _a0
func (*AppConnConsensus) CommitSync ¶
func (_m *AppConnConsensus) CommitSync() (*abcitypes.ResponseCommit, error)
CommitSync provides a mock function with given fields:
func (*AppConnConsensus) DeliverTxAsync ¶
func (_m *AppConnConsensus) DeliverTxAsync(_a0 abcitypes.RequestDeliverTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
DeliverTxAsync provides a mock function with given fields: _a0, _a1
func (*AppConnConsensus) EndBlockSync ¶
func (_m *AppConnConsensus) EndBlockSync(_a0 abcitypes.RequestEndBlock) (*abcitypes.ResponseEndBlock, error)
EndBlockSync provides a mock function with given fields: _a0
func (*AppConnConsensus) Error ¶
func (_m *AppConnConsensus) Error() error
Error provides a mock function with given fields:
func (*AppConnConsensus) InitChainSync ¶
func (_m *AppConnConsensus) InitChainSync(_a0 abcitypes.RequestInitChain) (*abcitypes.ResponseInitChain, error)
InitChainSync provides a mock function with given fields: _a0
func (*AppConnConsensus) SetGlobalCallback ¶
func (_m *AppConnConsensus) SetGlobalCallback(_a0 abcicli.GlobalCallback)
SetGlobalCallback provides a mock function with given fields: _a0
type AppConnMempool ¶
AppConnMempool is an autogenerated mock type for the AppConnMempool type
func NewAppConnMempool ¶
func NewAppConnMempool(t interface { mock.TestingT Cleanup(func()) }) *AppConnMempool
NewAppConnMempool creates a new instance of AppConnMempool. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AppConnMempool) BeginRecheckTxSync ¶
func (_m *AppConnMempool) BeginRecheckTxSync(_a0 types.RequestBeginRecheckTx) (*types.ResponseBeginRecheckTx, error)
BeginRecheckTxSync provides a mock function with given fields: _a0
func (*AppConnMempool) CheckTxAsync ¶
func (_m *AppConnMempool) CheckTxAsync(_a0 abcitypes.RequestCheckTx, _a1 abcicli.ResponseCallback) *abcicli.ReqRes
CheckTxAsync provides a mock function with given fields: _a0, _a1
func (*AppConnMempool) CheckTxSync ¶
func (_m *AppConnMempool) CheckTxSync(_a0 abcitypes.RequestCheckTx) (*types.ResponseCheckTx, error)
CheckTxSync provides a mock function with given fields: _a0
func (*AppConnMempool) EndRecheckTxSync ¶
func (_m *AppConnMempool) EndRecheckTxSync(_a0 types.RequestEndRecheckTx) (*types.ResponseEndRecheckTx, error)
EndRecheckTxSync provides a mock function with given fields: _a0
func (*AppConnMempool) Error ¶
func (_m *AppConnMempool) Error() error
Error provides a mock function with given fields:
func (*AppConnMempool) FlushAsync ¶
func (_m *AppConnMempool) FlushAsync(_a0 abcicli.ResponseCallback) *abcicli.ReqRes
FlushAsync provides a mock function with given fields: _a0
func (*AppConnMempool) FlushSync ¶
func (_m *AppConnMempool) FlushSync() (*abcitypes.ResponseFlush, error)
FlushSync provides a mock function with given fields:
func (*AppConnMempool) SetGlobalCallback ¶
func (_m *AppConnMempool) SetGlobalCallback(_a0 abcicli.GlobalCallback)
SetGlobalCallback provides a mock function with given fields: _a0
type AppConnQuery ¶
AppConnQuery is an autogenerated mock type for the AppConnQuery type
func NewAppConnQuery ¶
func NewAppConnQuery(t interface { mock.TestingT Cleanup(func()) }) *AppConnQuery
NewAppConnQuery creates a new instance of AppConnQuery. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AppConnQuery) EchoSync ¶
func (_m *AppConnQuery) EchoSync(_a0 string) (*types.ResponseEcho, error)
EchoSync provides a mock function with given fields: _a0
func (*AppConnQuery) Error ¶
func (_m *AppConnQuery) Error() error
Error provides a mock function with given fields:
func (*AppConnQuery) InfoSync ¶
func (_m *AppConnQuery) InfoSync(_a0 types.RequestInfo) (*types.ResponseInfo, error)
InfoSync provides a mock function with given fields: _a0
func (*AppConnQuery) QuerySync ¶
func (_m *AppConnQuery) QuerySync(_a0 types.RequestQuery) (*types.ResponseQuery, error)
QuerySync provides a mock function with given fields: _a0
type AppConnSnapshot ¶
AppConnSnapshot is an autogenerated mock type for the AppConnSnapshot type
func NewAppConnSnapshot ¶
func NewAppConnSnapshot(t interface { mock.TestingT Cleanup(func()) }) *AppConnSnapshot
NewAppConnSnapshot creates a new instance of AppConnSnapshot. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AppConnSnapshot) ApplySnapshotChunkSync ¶
func (_m *AppConnSnapshot) ApplySnapshotChunkSync(_a0 types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
ApplySnapshotChunkSync provides a mock function with given fields: _a0
func (*AppConnSnapshot) Error ¶
func (_m *AppConnSnapshot) Error() error
Error provides a mock function with given fields:
func (*AppConnSnapshot) ListSnapshotsSync ¶
func (_m *AppConnSnapshot) ListSnapshotsSync(_a0 types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
ListSnapshotsSync provides a mock function with given fields: _a0
func (*AppConnSnapshot) LoadSnapshotChunkSync ¶
func (_m *AppConnSnapshot) LoadSnapshotChunkSync(_a0 types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
LoadSnapshotChunkSync provides a mock function with given fields: _a0
func (*AppConnSnapshot) OfferSnapshotSync ¶
func (_m *AppConnSnapshot) OfferSnapshotSync(_a0 types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
OfferSnapshotSync provides a mock function with given fields: _a0
type ClientCreator ¶
ClientCreator is an autogenerated mock type for the ClientCreator type
func NewClientCreator ¶
func NewClientCreator(t interface { mock.TestingT Cleanup(func()) }) *ClientCreator
NewClientCreator creates a new instance of ClientCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClientCreator) NewABCIClient ¶
func (_m *ClientCreator) NewABCIClient() (abcicli.Client, error)
NewABCIClient provides a mock function with given fields: