Documentation ¶
Index ¶
- type Application
- func (_m *Application) ApplySnapshotChunk(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (_m *Application) CheckTx(_a0 context.Context, _a1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)
- func (_m *Application) EXPECT() *Application_Expecter
- func (_m *Application) ExtendVote(_a0 context.Context, _a1 *types.RequestExtendVote) (*types.ResponseExtendVote, error)
- func (_m *Application) FinalizeBlock(_a0 context.Context, _a1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
- func (_m *Application) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)
- func (_m *Application) InitChain(_a0 context.Context, _a1 *types.RequestInitChain) (*types.ResponseInitChain, error)
- func (_m *Application) ListSnapshots(_a0 context.Context, _a1 *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (_m *Application) LoadSnapshotChunk(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (_m *Application) OfferSnapshot(_a0 context.Context, _a1 *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- func (_m *Application) PrepareProposal(_a0 context.Context, _a1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
- func (_m *Application) ProcessProposal(_a0 context.Context, _a1 *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
- func (_m *Application) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)
- func (_m *Application) VerifyVoteExtension(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
- type Application_ApplySnapshotChunk_Call
- func (_c *Application_ApplySnapshotChunk_Call) Return(_a0 *types.ResponseApplySnapshotChunk, _a1 error) *Application_ApplySnapshotChunk_Call
- func (_c *Application_ApplySnapshotChunk_Call) Run(run func(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk)) *Application_ApplySnapshotChunk_Call
- func (_c *Application_ApplySnapshotChunk_Call) RunAndReturn(...) *Application_ApplySnapshotChunk_Call
- type Application_CheckTx_Call
- func (_c *Application_CheckTx_Call) Return(_a0 *types.ResponseCheckTx, _a1 error) *Application_CheckTx_Call
- func (_c *Application_CheckTx_Call) Run(run func(_a0 context.Context, _a1 *types.RequestCheckTx)) *Application_CheckTx_Call
- func (_c *Application_CheckTx_Call) RunAndReturn(...) *Application_CheckTx_Call
- type Application_Expecter
- func (_e *Application_Expecter) ApplySnapshotChunk(_a0 interface{}, _a1 interface{}) *Application_ApplySnapshotChunk_Call
- func (_e *Application_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *Application_CheckTx_Call
- func (_e *Application_Expecter) ExtendVote(_a0 interface{}, _a1 interface{}) *Application_ExtendVote_Call
- func (_e *Application_Expecter) FinalizeBlock(_a0 interface{}, _a1 interface{}) *Application_FinalizeBlock_Call
- func (_e *Application_Expecter) Info(_a0 interface{}, _a1 interface{}) *Application_Info_Call
- func (_e *Application_Expecter) InitChain(_a0 interface{}, _a1 interface{}) *Application_InitChain_Call
- func (_e *Application_Expecter) ListSnapshots(_a0 interface{}, _a1 interface{}) *Application_ListSnapshots_Call
- func (_e *Application_Expecter) LoadSnapshotChunk(_a0 interface{}, _a1 interface{}) *Application_LoadSnapshotChunk_Call
- func (_e *Application_Expecter) OfferSnapshot(_a0 interface{}, _a1 interface{}) *Application_OfferSnapshot_Call
- func (_e *Application_Expecter) PrepareProposal(_a0 interface{}, _a1 interface{}) *Application_PrepareProposal_Call
- func (_e *Application_Expecter) ProcessProposal(_a0 interface{}, _a1 interface{}) *Application_ProcessProposal_Call
- func (_e *Application_Expecter) Query(_a0 interface{}, _a1 interface{}) *Application_Query_Call
- func (_e *Application_Expecter) VerifyVoteExtension(_a0 interface{}, _a1 interface{}) *Application_VerifyVoteExtension_Call
- type Application_ExtendVote_Call
- func (_c *Application_ExtendVote_Call) Return(_a0 *types.ResponseExtendVote, _a1 error) *Application_ExtendVote_Call
- func (_c *Application_ExtendVote_Call) Run(run func(_a0 context.Context, _a1 *types.RequestExtendVote)) *Application_ExtendVote_Call
- func (_c *Application_ExtendVote_Call) RunAndReturn(...) *Application_ExtendVote_Call
- type Application_FinalizeBlock_Call
- func (_c *Application_FinalizeBlock_Call) Return(_a0 *types.ResponseFinalizeBlock, _a1 error) *Application_FinalizeBlock_Call
- func (_c *Application_FinalizeBlock_Call) Run(run func(_a0 context.Context, _a1 *types.RequestFinalizeBlock)) *Application_FinalizeBlock_Call
- func (_c *Application_FinalizeBlock_Call) RunAndReturn(...) *Application_FinalizeBlock_Call
- type Application_Info_Call
- func (_c *Application_Info_Call) Return(_a0 *types.ResponseInfo, _a1 error) *Application_Info_Call
- func (_c *Application_Info_Call) Run(run func(_a0 context.Context, _a1 *types.RequestInfo)) *Application_Info_Call
- func (_c *Application_Info_Call) RunAndReturn(run func(context.Context, *types.RequestInfo) (*types.ResponseInfo, error)) *Application_Info_Call
- type Application_InitChain_Call
- func (_c *Application_InitChain_Call) Return(_a0 *types.ResponseInitChain, _a1 error) *Application_InitChain_Call
- func (_c *Application_InitChain_Call) Run(run func(_a0 context.Context, _a1 *types.RequestInitChain)) *Application_InitChain_Call
- func (_c *Application_InitChain_Call) RunAndReturn(...) *Application_InitChain_Call
- type Application_ListSnapshots_Call
- func (_c *Application_ListSnapshots_Call) Return(_a0 *types.ResponseListSnapshots, _a1 error) *Application_ListSnapshots_Call
- func (_c *Application_ListSnapshots_Call) Run(run func(_a0 context.Context, _a1 *types.RequestListSnapshots)) *Application_ListSnapshots_Call
- func (_c *Application_ListSnapshots_Call) RunAndReturn(...) *Application_ListSnapshots_Call
- type Application_LoadSnapshotChunk_Call
- func (_c *Application_LoadSnapshotChunk_Call) Return(_a0 *types.ResponseLoadSnapshotChunk, _a1 error) *Application_LoadSnapshotChunk_Call
- func (_c *Application_LoadSnapshotChunk_Call) Run(run func(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk)) *Application_LoadSnapshotChunk_Call
- func (_c *Application_LoadSnapshotChunk_Call) RunAndReturn(...) *Application_LoadSnapshotChunk_Call
- type Application_OfferSnapshot_Call
- func (_c *Application_OfferSnapshot_Call) Return(_a0 *types.ResponseOfferSnapshot, _a1 error) *Application_OfferSnapshot_Call
- func (_c *Application_OfferSnapshot_Call) Run(run func(_a0 context.Context, _a1 *types.RequestOfferSnapshot)) *Application_OfferSnapshot_Call
- func (_c *Application_OfferSnapshot_Call) RunAndReturn(...) *Application_OfferSnapshot_Call
- type Application_PrepareProposal_Call
- func (_c *Application_PrepareProposal_Call) Return(_a0 *types.ResponsePrepareProposal, _a1 error) *Application_PrepareProposal_Call
- func (_c *Application_PrepareProposal_Call) Run(run func(_a0 context.Context, _a1 *types.RequestPrepareProposal)) *Application_PrepareProposal_Call
- func (_c *Application_PrepareProposal_Call) RunAndReturn(...) *Application_PrepareProposal_Call
- type Application_ProcessProposal_Call
- func (_c *Application_ProcessProposal_Call) Return(_a0 *types.ResponseProcessProposal, _a1 error) *Application_ProcessProposal_Call
- func (_c *Application_ProcessProposal_Call) Run(run func(_a0 context.Context, _a1 *types.RequestProcessProposal)) *Application_ProcessProposal_Call
- func (_c *Application_ProcessProposal_Call) RunAndReturn(...) *Application_ProcessProposal_Call
- type Application_Query_Call
- func (_c *Application_Query_Call) Return(_a0 *types.ResponseQuery, _a1 error) *Application_Query_Call
- func (_c *Application_Query_Call) Run(run func(_a0 context.Context, _a1 *types.RequestQuery)) *Application_Query_Call
- func (_c *Application_Query_Call) RunAndReturn(run func(context.Context, *types.RequestQuery) (*types.ResponseQuery, error)) *Application_Query_Call
- type Application_VerifyVoteExtension_Call
- func (_c *Application_VerifyVoteExtension_Call) Return(_a0 *types.ResponseVerifyVoteExtension, _a1 error) *Application_VerifyVoteExtension_Call
- func (_c *Application_VerifyVoteExtension_Call) Run(run func(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension)) *Application_VerifyVoteExtension_Call
- func (_c *Application_VerifyVoteExtension_Call) RunAndReturn(...) *Application_VerifyVoteExtension_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is an autogenerated mock type for the Application type
func NewApplication ¶
func NewApplication(t interface { mock.TestingT Cleanup(func()) }) *Application
NewApplication creates a new instance of Application. 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 (*Application) ApplySnapshotChunk ¶
func (_m *Application) ApplySnapshotChunk(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
ApplySnapshotChunk provides a mock function with given fields: _a0, _a1
func (*Application) CheckTx ¶
func (_m *Application) CheckTx(_a0 context.Context, _a1 *types.RequestCheckTx) (*types.ResponseCheckTx, error)
CheckTx provides a mock function with given fields: _a0, _a1
func (*Application) EXPECT ¶ added in v1.4.0
func (_m *Application) EXPECT() *Application_Expecter
func (*Application) ExtendVote ¶
func (_m *Application) ExtendVote(_a0 context.Context, _a1 *types.RequestExtendVote) (*types.ResponseExtendVote, error)
ExtendVote provides a mock function with given fields: _a0, _a1
func (*Application) FinalizeBlock ¶
func (_m *Application) FinalizeBlock(_a0 context.Context, _a1 *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
FinalizeBlock provides a mock function with given fields: _a0, _a1
func (*Application) Info ¶
func (_m *Application) Info(_a0 context.Context, _a1 *types.RequestInfo) (*types.ResponseInfo, error)
Info provides a mock function with given fields: _a0, _a1
func (*Application) InitChain ¶
func (_m *Application) InitChain(_a0 context.Context, _a1 *types.RequestInitChain) (*types.ResponseInitChain, error)
InitChain provides a mock function with given fields: _a0, _a1
func (*Application) ListSnapshots ¶
func (_m *Application) ListSnapshots(_a0 context.Context, _a1 *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
ListSnapshots provides a mock function with given fields: _a0, _a1
func (*Application) LoadSnapshotChunk ¶
func (_m *Application) LoadSnapshotChunk(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
LoadSnapshotChunk provides a mock function with given fields: _a0, _a1
func (*Application) OfferSnapshot ¶
func (_m *Application) OfferSnapshot(_a0 context.Context, _a1 *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
OfferSnapshot provides a mock function with given fields: _a0, _a1
func (*Application) PrepareProposal ¶
func (_m *Application) PrepareProposal(_a0 context.Context, _a1 *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
PrepareProposal provides a mock function with given fields: _a0, _a1
func (*Application) ProcessProposal ¶
func (_m *Application) ProcessProposal(_a0 context.Context, _a1 *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
ProcessProposal provides a mock function with given fields: _a0, _a1
func (*Application) Query ¶
func (_m *Application) Query(_a0 context.Context, _a1 *types.RequestQuery) (*types.ResponseQuery, error)
Query provides a mock function with given fields: _a0, _a1
func (*Application) VerifyVoteExtension ¶
func (_m *Application) VerifyVoteExtension(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
VerifyVoteExtension provides a mock function with given fields: _a0, _a1
type Application_ApplySnapshotChunk_Call ¶ added in v1.4.0
Application_ApplySnapshotChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplySnapshotChunk'
func (*Application_ApplySnapshotChunk_Call) Return ¶ added in v1.4.0
func (_c *Application_ApplySnapshotChunk_Call) Return(_a0 *types.ResponseApplySnapshotChunk, _a1 error) *Application_ApplySnapshotChunk_Call
func (*Application_ApplySnapshotChunk_Call) Run ¶ added in v1.4.0
func (_c *Application_ApplySnapshotChunk_Call) Run(run func(_a0 context.Context, _a1 *types.RequestApplySnapshotChunk)) *Application_ApplySnapshotChunk_Call
func (*Application_ApplySnapshotChunk_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_ApplySnapshotChunk_Call) RunAndReturn(run func(context.Context, *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)) *Application_ApplySnapshotChunk_Call
type Application_CheckTx_Call ¶ added in v1.4.0
Application_CheckTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTx'
func (*Application_CheckTx_Call) Return ¶ added in v1.4.0
func (_c *Application_CheckTx_Call) Return(_a0 *types.ResponseCheckTx, _a1 error) *Application_CheckTx_Call
func (*Application_CheckTx_Call) Run ¶ added in v1.4.0
func (_c *Application_CheckTx_Call) Run(run func(_a0 context.Context, _a1 *types.RequestCheckTx)) *Application_CheckTx_Call
func (*Application_CheckTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_CheckTx_Call) RunAndReturn(run func(context.Context, *types.RequestCheckTx) (*types.ResponseCheckTx, error)) *Application_CheckTx_Call
type Application_Expecter ¶ added in v1.4.0
type Application_Expecter struct {
// contains filtered or unexported fields
}
func (*Application_Expecter) ApplySnapshotChunk ¶ added in v1.4.0
func (_e *Application_Expecter) ApplySnapshotChunk(_a0 interface{}, _a1 interface{}) *Application_ApplySnapshotChunk_Call
ApplySnapshotChunk is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestApplySnapshotChunk
func (*Application_Expecter) CheckTx ¶ added in v1.4.0
func (_e *Application_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *Application_CheckTx_Call
CheckTx is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestCheckTx
func (*Application_Expecter) ExtendVote ¶ added in v1.4.0
func (_e *Application_Expecter) ExtendVote(_a0 interface{}, _a1 interface{}) *Application_ExtendVote_Call
ExtendVote is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestExtendVote
func (*Application_Expecter) FinalizeBlock ¶ added in v1.4.0
func (_e *Application_Expecter) FinalizeBlock(_a0 interface{}, _a1 interface{}) *Application_FinalizeBlock_Call
FinalizeBlock is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestFinalizeBlock
func (*Application_Expecter) Info ¶ added in v1.4.0
func (_e *Application_Expecter) Info(_a0 interface{}, _a1 interface{}) *Application_Info_Call
Info is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestInfo
func (*Application_Expecter) InitChain ¶ added in v1.4.0
func (_e *Application_Expecter) InitChain(_a0 interface{}, _a1 interface{}) *Application_InitChain_Call
InitChain is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestInitChain
func (*Application_Expecter) ListSnapshots ¶ added in v1.4.0
func (_e *Application_Expecter) ListSnapshots(_a0 interface{}, _a1 interface{}) *Application_ListSnapshots_Call
ListSnapshots is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestListSnapshots
func (*Application_Expecter) LoadSnapshotChunk ¶ added in v1.4.0
func (_e *Application_Expecter) LoadSnapshotChunk(_a0 interface{}, _a1 interface{}) *Application_LoadSnapshotChunk_Call
LoadSnapshotChunk is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestLoadSnapshotChunk
func (*Application_Expecter) OfferSnapshot ¶ added in v1.4.0
func (_e *Application_Expecter) OfferSnapshot(_a0 interface{}, _a1 interface{}) *Application_OfferSnapshot_Call
OfferSnapshot is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestOfferSnapshot
func (*Application_Expecter) PrepareProposal ¶ added in v1.4.0
func (_e *Application_Expecter) PrepareProposal(_a0 interface{}, _a1 interface{}) *Application_PrepareProposal_Call
PrepareProposal is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestPrepareProposal
func (*Application_Expecter) ProcessProposal ¶ added in v1.4.0
func (_e *Application_Expecter) ProcessProposal(_a0 interface{}, _a1 interface{}) *Application_ProcessProposal_Call
ProcessProposal is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestProcessProposal
func (*Application_Expecter) Query ¶ added in v1.4.0
func (_e *Application_Expecter) Query(_a0 interface{}, _a1 interface{}) *Application_Query_Call
Query is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestQuery
func (*Application_Expecter) VerifyVoteExtension ¶ added in v1.4.0
func (_e *Application_Expecter) VerifyVoteExtension(_a0 interface{}, _a1 interface{}) *Application_VerifyVoteExtension_Call
VerifyVoteExtension is a helper method to define mock.On call
- _a0 context.Context
- _a1 *types.RequestVerifyVoteExtension
type Application_ExtendVote_Call ¶ added in v1.4.0
Application_ExtendVote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExtendVote'
func (*Application_ExtendVote_Call) Return ¶ added in v1.4.0
func (_c *Application_ExtendVote_Call) Return(_a0 *types.ResponseExtendVote, _a1 error) *Application_ExtendVote_Call
func (*Application_ExtendVote_Call) Run ¶ added in v1.4.0
func (_c *Application_ExtendVote_Call) Run(run func(_a0 context.Context, _a1 *types.RequestExtendVote)) *Application_ExtendVote_Call
func (*Application_ExtendVote_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_ExtendVote_Call) RunAndReturn(run func(context.Context, *types.RequestExtendVote) (*types.ResponseExtendVote, error)) *Application_ExtendVote_Call
type Application_FinalizeBlock_Call ¶ added in v1.4.0
Application_FinalizeBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalizeBlock'
func (*Application_FinalizeBlock_Call) Return ¶ added in v1.4.0
func (_c *Application_FinalizeBlock_Call) Return(_a0 *types.ResponseFinalizeBlock, _a1 error) *Application_FinalizeBlock_Call
func (*Application_FinalizeBlock_Call) Run ¶ added in v1.4.0
func (_c *Application_FinalizeBlock_Call) Run(run func(_a0 context.Context, _a1 *types.RequestFinalizeBlock)) *Application_FinalizeBlock_Call
func (*Application_FinalizeBlock_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_FinalizeBlock_Call) RunAndReturn(run func(context.Context, *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)) *Application_FinalizeBlock_Call
type Application_Info_Call ¶ added in v1.4.0
Application_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*Application_Info_Call) Return ¶ added in v1.4.0
func (_c *Application_Info_Call) Return(_a0 *types.ResponseInfo, _a1 error) *Application_Info_Call
func (*Application_Info_Call) Run ¶ added in v1.4.0
func (_c *Application_Info_Call) Run(run func(_a0 context.Context, _a1 *types.RequestInfo)) *Application_Info_Call
func (*Application_Info_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_Info_Call) RunAndReturn(run func(context.Context, *types.RequestInfo) (*types.ResponseInfo, error)) *Application_Info_Call
type Application_InitChain_Call ¶ added in v1.4.0
Application_InitChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitChain'
func (*Application_InitChain_Call) Return ¶ added in v1.4.0
func (_c *Application_InitChain_Call) Return(_a0 *types.ResponseInitChain, _a1 error) *Application_InitChain_Call
func (*Application_InitChain_Call) Run ¶ added in v1.4.0
func (_c *Application_InitChain_Call) Run(run func(_a0 context.Context, _a1 *types.RequestInitChain)) *Application_InitChain_Call
func (*Application_InitChain_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_InitChain_Call) RunAndReturn(run func(context.Context, *types.RequestInitChain) (*types.ResponseInitChain, error)) *Application_InitChain_Call
type Application_ListSnapshots_Call ¶ added in v1.4.0
Application_ListSnapshots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSnapshots'
func (*Application_ListSnapshots_Call) Return ¶ added in v1.4.0
func (_c *Application_ListSnapshots_Call) Return(_a0 *types.ResponseListSnapshots, _a1 error) *Application_ListSnapshots_Call
func (*Application_ListSnapshots_Call) Run ¶ added in v1.4.0
func (_c *Application_ListSnapshots_Call) Run(run func(_a0 context.Context, _a1 *types.RequestListSnapshots)) *Application_ListSnapshots_Call
func (*Application_ListSnapshots_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_ListSnapshots_Call) RunAndReturn(run func(context.Context, *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)) *Application_ListSnapshots_Call
type Application_LoadSnapshotChunk_Call ¶ added in v1.4.0
Application_LoadSnapshotChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadSnapshotChunk'
func (*Application_LoadSnapshotChunk_Call) Return ¶ added in v1.4.0
func (_c *Application_LoadSnapshotChunk_Call) Return(_a0 *types.ResponseLoadSnapshotChunk, _a1 error) *Application_LoadSnapshotChunk_Call
func (*Application_LoadSnapshotChunk_Call) Run ¶ added in v1.4.0
func (_c *Application_LoadSnapshotChunk_Call) Run(run func(_a0 context.Context, _a1 *types.RequestLoadSnapshotChunk)) *Application_LoadSnapshotChunk_Call
func (*Application_LoadSnapshotChunk_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_LoadSnapshotChunk_Call) RunAndReturn(run func(context.Context, *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)) *Application_LoadSnapshotChunk_Call
type Application_OfferSnapshot_Call ¶ added in v1.4.0
Application_OfferSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OfferSnapshot'
func (*Application_OfferSnapshot_Call) Return ¶ added in v1.4.0
func (_c *Application_OfferSnapshot_Call) Return(_a0 *types.ResponseOfferSnapshot, _a1 error) *Application_OfferSnapshot_Call
func (*Application_OfferSnapshot_Call) Run ¶ added in v1.4.0
func (_c *Application_OfferSnapshot_Call) Run(run func(_a0 context.Context, _a1 *types.RequestOfferSnapshot)) *Application_OfferSnapshot_Call
func (*Application_OfferSnapshot_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_OfferSnapshot_Call) RunAndReturn(run func(context.Context, *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)) *Application_OfferSnapshot_Call
type Application_PrepareProposal_Call ¶ added in v1.4.0
Application_PrepareProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareProposal'
func (*Application_PrepareProposal_Call) Return ¶ added in v1.4.0
func (_c *Application_PrepareProposal_Call) Return(_a0 *types.ResponsePrepareProposal, _a1 error) *Application_PrepareProposal_Call
func (*Application_PrepareProposal_Call) Run ¶ added in v1.4.0
func (_c *Application_PrepareProposal_Call) Run(run func(_a0 context.Context, _a1 *types.RequestPrepareProposal)) *Application_PrepareProposal_Call
func (*Application_PrepareProposal_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_PrepareProposal_Call) RunAndReturn(run func(context.Context, *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)) *Application_PrepareProposal_Call
type Application_ProcessProposal_Call ¶ added in v1.4.0
Application_ProcessProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessProposal'
func (*Application_ProcessProposal_Call) Return ¶ added in v1.4.0
func (_c *Application_ProcessProposal_Call) Return(_a0 *types.ResponseProcessProposal, _a1 error) *Application_ProcessProposal_Call
func (*Application_ProcessProposal_Call) Run ¶ added in v1.4.0
func (_c *Application_ProcessProposal_Call) Run(run func(_a0 context.Context, _a1 *types.RequestProcessProposal)) *Application_ProcessProposal_Call
func (*Application_ProcessProposal_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_ProcessProposal_Call) RunAndReturn(run func(context.Context, *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)) *Application_ProcessProposal_Call
type Application_Query_Call ¶ added in v1.4.0
Application_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*Application_Query_Call) Return ¶ added in v1.4.0
func (_c *Application_Query_Call) Return(_a0 *types.ResponseQuery, _a1 error) *Application_Query_Call
func (*Application_Query_Call) Run ¶ added in v1.4.0
func (_c *Application_Query_Call) Run(run func(_a0 context.Context, _a1 *types.RequestQuery)) *Application_Query_Call
func (*Application_Query_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_Query_Call) RunAndReturn(run func(context.Context, *types.RequestQuery) (*types.ResponseQuery, error)) *Application_Query_Call
type Application_VerifyVoteExtension_Call ¶ added in v1.4.0
Application_VerifyVoteExtension_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyVoteExtension'
func (*Application_VerifyVoteExtension_Call) Return ¶ added in v1.4.0
func (_c *Application_VerifyVoteExtension_Call) Return(_a0 *types.ResponseVerifyVoteExtension, _a1 error) *Application_VerifyVoteExtension_Call
func (*Application_VerifyVoteExtension_Call) Run ¶ added in v1.4.0
func (_c *Application_VerifyVoteExtension_Call) Run(run func(_a0 context.Context, _a1 *types.RequestVerifyVoteExtension)) *Application_VerifyVoteExtension_Call
func (*Application_VerifyVoteExtension_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_VerifyVoteExtension_Call) RunAndReturn(run func(context.Context, *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)) *Application_VerifyVoteExtension_Call