Documentation
¶
Index ¶
- type Application
- func (_mock *Application) ApplySnapshotChunk(context1 context.Context, ...) (*types.ResponseApplySnapshotChunk, error)
- func (_mock *Application) CheckTx(context1 context.Context, requestCheckTx *types.RequestCheckTx) (*types.ResponseCheckTx, error)
- func (_m *Application) EXPECT() *Application_Expecter
- func (_mock *Application) ExtendVote(context1 context.Context, requestExtendVote *types.RequestExtendVote) (*types.ResponseExtendVote, error)
- func (_mock *Application) FinalizeBlock(context1 context.Context, requestFinalizeBlock *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
- func (_mock *Application) Info(context1 context.Context, requestInfo *types.RequestInfo) (*types.ResponseInfo, error)
- func (_mock *Application) InitChain(context1 context.Context, requestInitChain *types.RequestInitChain) (*types.ResponseInitChain, error)
- func (_mock *Application) ListSnapshots(context1 context.Context, requestListSnapshots *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (_mock *Application) LoadSnapshotChunk(context1 context.Context, ...) (*types.ResponseLoadSnapshotChunk, error)
- func (_mock *Application) OfferSnapshot(context1 context.Context, requestOfferSnapshot *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- func (_mock *Application) PrepareProposal(context1 context.Context, requestPrepareProposal *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
- func (_mock *Application) ProcessProposal(context1 context.Context, requestProcessProposal *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
- func (_mock *Application) Query(context1 context.Context, requestQuery *types.RequestQuery) (*types.ResponseQuery, error)
- func (_mock *Application) VerifyVoteExtension(context1 context.Context, ...) (*types.ResponseVerifyVoteExtension, error)
- type Application_ApplySnapshotChunk_Call
- func (_c *Application_ApplySnapshotChunk_Call) Return(responseApplySnapshotChunk *types.ResponseApplySnapshotChunk, err error) *Application_ApplySnapshotChunk_Call
- func (_c *Application_ApplySnapshotChunk_Call) Run(run func(context1 context.Context, ...)) *Application_ApplySnapshotChunk_Call
- func (_c *Application_ApplySnapshotChunk_Call) RunAndReturn(...) *Application_ApplySnapshotChunk_Call
- type Application_CheckTx_Call
- func (_c *Application_CheckTx_Call) Return(responseCheckTx *types.ResponseCheckTx, err error) *Application_CheckTx_Call
- func (_c *Application_CheckTx_Call) Run(run func(context1 context.Context, requestCheckTx *types.RequestCheckTx)) *Application_CheckTx_Call
- func (_c *Application_CheckTx_Call) RunAndReturn(...) *Application_CheckTx_Call
- type Application_Expecter
- func (_e *Application_Expecter) ApplySnapshotChunk(context1 interface{}, requestApplySnapshotChunk interface{}) *Application_ApplySnapshotChunk_Call
- func (_e *Application_Expecter) CheckTx(context1 interface{}, requestCheckTx interface{}) *Application_CheckTx_Call
- func (_e *Application_Expecter) ExtendVote(context1 interface{}, requestExtendVote interface{}) *Application_ExtendVote_Call
- func (_e *Application_Expecter) FinalizeBlock(context1 interface{}, requestFinalizeBlock interface{}) *Application_FinalizeBlock_Call
- func (_e *Application_Expecter) Info(context1 interface{}, requestInfo interface{}) *Application_Info_Call
- func (_e *Application_Expecter) InitChain(context1 interface{}, requestInitChain interface{}) *Application_InitChain_Call
- func (_e *Application_Expecter) ListSnapshots(context1 interface{}, requestListSnapshots interface{}) *Application_ListSnapshots_Call
- func (_e *Application_Expecter) LoadSnapshotChunk(context1 interface{}, requestLoadSnapshotChunk interface{}) *Application_LoadSnapshotChunk_Call
- func (_e *Application_Expecter) OfferSnapshot(context1 interface{}, requestOfferSnapshot interface{}) *Application_OfferSnapshot_Call
- func (_e *Application_Expecter) PrepareProposal(context1 interface{}, requestPrepareProposal interface{}) *Application_PrepareProposal_Call
- func (_e *Application_Expecter) ProcessProposal(context1 interface{}, requestProcessProposal interface{}) *Application_ProcessProposal_Call
- func (_e *Application_Expecter) Query(context1 interface{}, requestQuery interface{}) *Application_Query_Call
- func (_e *Application_Expecter) VerifyVoteExtension(context1 interface{}, requestVerifyVoteExtension interface{}) *Application_VerifyVoteExtension_Call
- type Application_ExtendVote_Call
- func (_c *Application_ExtendVote_Call) Return(responseExtendVote *types.ResponseExtendVote, err error) *Application_ExtendVote_Call
- func (_c *Application_ExtendVote_Call) Run(run func(context1 context.Context, requestExtendVote *types.RequestExtendVote)) *Application_ExtendVote_Call
- func (_c *Application_ExtendVote_Call) RunAndReturn(...) *Application_ExtendVote_Call
- type Application_FinalizeBlock_Call
- func (_c *Application_FinalizeBlock_Call) Return(responseFinalizeBlock *types.ResponseFinalizeBlock, err error) *Application_FinalizeBlock_Call
- func (_c *Application_FinalizeBlock_Call) Run(...) *Application_FinalizeBlock_Call
- func (_c *Application_FinalizeBlock_Call) RunAndReturn(...) *Application_FinalizeBlock_Call
- type Application_Info_Call
- func (_c *Application_Info_Call) Return(responseInfo *types.ResponseInfo, err error) *Application_Info_Call
- func (_c *Application_Info_Call) Run(run func(context1 context.Context, requestInfo *types.RequestInfo)) *Application_Info_Call
- func (_c *Application_Info_Call) RunAndReturn(...) *Application_Info_Call
- type Application_InitChain_Call
- func (_c *Application_InitChain_Call) Return(responseInitChain *types.ResponseInitChain, err error) *Application_InitChain_Call
- func (_c *Application_InitChain_Call) Run(run func(context1 context.Context, requestInitChain *types.RequestInitChain)) *Application_InitChain_Call
- func (_c *Application_InitChain_Call) RunAndReturn(...) *Application_InitChain_Call
- type Application_ListSnapshots_Call
- func (_c *Application_ListSnapshots_Call) Return(responseListSnapshots *types.ResponseListSnapshots, err error) *Application_ListSnapshots_Call
- func (_c *Application_ListSnapshots_Call) Run(...) *Application_ListSnapshots_Call
- func (_c *Application_ListSnapshots_Call) RunAndReturn(...) *Application_ListSnapshots_Call
- type Application_LoadSnapshotChunk_Call
- func (_c *Application_LoadSnapshotChunk_Call) Return(responseLoadSnapshotChunk *types.ResponseLoadSnapshotChunk, err error) *Application_LoadSnapshotChunk_Call
- func (_c *Application_LoadSnapshotChunk_Call) Run(run func(context1 context.Context, ...)) *Application_LoadSnapshotChunk_Call
- func (_c *Application_LoadSnapshotChunk_Call) RunAndReturn(...) *Application_LoadSnapshotChunk_Call
- type Application_OfferSnapshot_Call
- func (_c *Application_OfferSnapshot_Call) Return(responseOfferSnapshot *types.ResponseOfferSnapshot, err error) *Application_OfferSnapshot_Call
- func (_c *Application_OfferSnapshot_Call) Run(...) *Application_OfferSnapshot_Call
- func (_c *Application_OfferSnapshot_Call) RunAndReturn(...) *Application_OfferSnapshot_Call
- type Application_PrepareProposal_Call
- func (_c *Application_PrepareProposal_Call) Return(responsePrepareProposal *types.ResponsePrepareProposal, err error) *Application_PrepareProposal_Call
- func (_c *Application_PrepareProposal_Call) Run(...) *Application_PrepareProposal_Call
- func (_c *Application_PrepareProposal_Call) RunAndReturn(...) *Application_PrepareProposal_Call
- type Application_ProcessProposal_Call
- func (_c *Application_ProcessProposal_Call) Return(responseProcessProposal *types.ResponseProcessProposal, err error) *Application_ProcessProposal_Call
- func (_c *Application_ProcessProposal_Call) Run(...) *Application_ProcessProposal_Call
- func (_c *Application_ProcessProposal_Call) RunAndReturn(...) *Application_ProcessProposal_Call
- type Application_Query_Call
- func (_c *Application_Query_Call) Return(responseQuery *types.ResponseQuery, err error) *Application_Query_Call
- func (_c *Application_Query_Call) Run(run func(context1 context.Context, requestQuery *types.RequestQuery)) *Application_Query_Call
- func (_c *Application_Query_Call) RunAndReturn(...) *Application_Query_Call
- type Application_VerifyVoteExtension_Call
- func (_c *Application_VerifyVoteExtension_Call) Return(responseVerifyVoteExtension *types.ResponseVerifyVoteExtension, err error) *Application_VerifyVoteExtension_Call
- func (_c *Application_VerifyVoteExtension_Call) Run(run func(context1 context.Context, ...)) *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 (_mock *Application) ApplySnapshotChunk(context1 context.Context, requestApplySnapshotChunk *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
ApplySnapshotChunk provides a mock function for the type Application
func (*Application) CheckTx ¶
func (_mock *Application) CheckTx(context1 context.Context, requestCheckTx *types.RequestCheckTx) (*types.ResponseCheckTx, error)
CheckTx provides a mock function for the type Application
func (*Application) EXPECT ¶ added in v1.4.0
func (_m *Application) EXPECT() *Application_Expecter
func (*Application) ExtendVote ¶
func (_mock *Application) ExtendVote(context1 context.Context, requestExtendVote *types.RequestExtendVote) (*types.ResponseExtendVote, error)
ExtendVote provides a mock function for the type Application
func (*Application) FinalizeBlock ¶
func (_mock *Application) FinalizeBlock(context1 context.Context, requestFinalizeBlock *types.RequestFinalizeBlock) (*types.ResponseFinalizeBlock, error)
FinalizeBlock provides a mock function for the type Application
func (*Application) Info ¶
func (_mock *Application) Info(context1 context.Context, requestInfo *types.RequestInfo) (*types.ResponseInfo, error)
Info provides a mock function for the type Application
func (*Application) InitChain ¶
func (_mock *Application) InitChain(context1 context.Context, requestInitChain *types.RequestInitChain) (*types.ResponseInitChain, error)
InitChain provides a mock function for the type Application
func (*Application) ListSnapshots ¶
func (_mock *Application) ListSnapshots(context1 context.Context, requestListSnapshots *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
ListSnapshots provides a mock function for the type Application
func (*Application) LoadSnapshotChunk ¶
func (_mock *Application) LoadSnapshotChunk(context1 context.Context, requestLoadSnapshotChunk *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
LoadSnapshotChunk provides a mock function for the type Application
func (*Application) OfferSnapshot ¶
func (_mock *Application) OfferSnapshot(context1 context.Context, requestOfferSnapshot *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
OfferSnapshot provides a mock function for the type Application
func (*Application) PrepareProposal ¶
func (_mock *Application) PrepareProposal(context1 context.Context, requestPrepareProposal *types.RequestPrepareProposal) (*types.ResponsePrepareProposal, error)
PrepareProposal provides a mock function for the type Application
func (*Application) ProcessProposal ¶
func (_mock *Application) ProcessProposal(context1 context.Context, requestProcessProposal *types.RequestProcessProposal) (*types.ResponseProcessProposal, error)
ProcessProposal provides a mock function for the type Application
func (*Application) Query ¶
func (_mock *Application) Query(context1 context.Context, requestQuery *types.RequestQuery) (*types.ResponseQuery, error)
Query provides a mock function for the type Application
func (*Application) VerifyVoteExtension ¶
func (_mock *Application) VerifyVoteExtension(context1 context.Context, requestVerifyVoteExtension *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)
VerifyVoteExtension provides a mock function for the type Application
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(responseApplySnapshotChunk *types.ResponseApplySnapshotChunk, err error) *Application_ApplySnapshotChunk_Call
func (*Application_ApplySnapshotChunk_Call) Run ¶ added in v1.4.0
func (_c *Application_ApplySnapshotChunk_Call) Run(run func(context1 context.Context, requestApplySnapshotChunk *types.RequestApplySnapshotChunk)) *Application_ApplySnapshotChunk_Call
func (*Application_ApplySnapshotChunk_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_ApplySnapshotChunk_Call) RunAndReturn(run func(context1 context.Context, requestApplySnapshotChunk *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(responseCheckTx *types.ResponseCheckTx, err error) *Application_CheckTx_Call
func (*Application_CheckTx_Call) Run ¶ added in v1.4.0
func (_c *Application_CheckTx_Call) Run(run func(context1 context.Context, requestCheckTx *types.RequestCheckTx)) *Application_CheckTx_Call
func (*Application_CheckTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_CheckTx_Call) RunAndReturn(run func(context1 context.Context, requestCheckTx *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(context1 interface{}, requestApplySnapshotChunk interface{}) *Application_ApplySnapshotChunk_Call
ApplySnapshotChunk is a helper method to define mock.On call
- context1 context.Context
- requestApplySnapshotChunk *types.RequestApplySnapshotChunk
func (*Application_Expecter) CheckTx ¶ added in v1.4.0
func (_e *Application_Expecter) CheckTx(context1 interface{}, requestCheckTx interface{}) *Application_CheckTx_Call
CheckTx is a helper method to define mock.On call
- context1 context.Context
- requestCheckTx *types.RequestCheckTx
func (*Application_Expecter) ExtendVote ¶ added in v1.4.0
func (_e *Application_Expecter) ExtendVote(context1 interface{}, requestExtendVote interface{}) *Application_ExtendVote_Call
ExtendVote is a helper method to define mock.On call
- context1 context.Context
- requestExtendVote *types.RequestExtendVote
func (*Application_Expecter) FinalizeBlock ¶ added in v1.4.0
func (_e *Application_Expecter) FinalizeBlock(context1 interface{}, requestFinalizeBlock interface{}) *Application_FinalizeBlock_Call
FinalizeBlock is a helper method to define mock.On call
- context1 context.Context
- requestFinalizeBlock *types.RequestFinalizeBlock
func (*Application_Expecter) Info ¶ added in v1.4.0
func (_e *Application_Expecter) Info(context1 interface{}, requestInfo interface{}) *Application_Info_Call
Info is a helper method to define mock.On call
- context1 context.Context
- requestInfo *types.RequestInfo
func (*Application_Expecter) InitChain ¶ added in v1.4.0
func (_e *Application_Expecter) InitChain(context1 interface{}, requestInitChain interface{}) *Application_InitChain_Call
InitChain is a helper method to define mock.On call
- context1 context.Context
- requestInitChain *types.RequestInitChain
func (*Application_Expecter) ListSnapshots ¶ added in v1.4.0
func (_e *Application_Expecter) ListSnapshots(context1 interface{}, requestListSnapshots interface{}) *Application_ListSnapshots_Call
ListSnapshots is a helper method to define mock.On call
- context1 context.Context
- requestListSnapshots *types.RequestListSnapshots
func (*Application_Expecter) LoadSnapshotChunk ¶ added in v1.4.0
func (_e *Application_Expecter) LoadSnapshotChunk(context1 interface{}, requestLoadSnapshotChunk interface{}) *Application_LoadSnapshotChunk_Call
LoadSnapshotChunk is a helper method to define mock.On call
- context1 context.Context
- requestLoadSnapshotChunk *types.RequestLoadSnapshotChunk
func (*Application_Expecter) OfferSnapshot ¶ added in v1.4.0
func (_e *Application_Expecter) OfferSnapshot(context1 interface{}, requestOfferSnapshot interface{}) *Application_OfferSnapshot_Call
OfferSnapshot is a helper method to define mock.On call
- context1 context.Context
- requestOfferSnapshot *types.RequestOfferSnapshot
func (*Application_Expecter) PrepareProposal ¶ added in v1.4.0
func (_e *Application_Expecter) PrepareProposal(context1 interface{}, requestPrepareProposal interface{}) *Application_PrepareProposal_Call
PrepareProposal is a helper method to define mock.On call
- context1 context.Context
- requestPrepareProposal *types.RequestPrepareProposal
func (*Application_Expecter) ProcessProposal ¶ added in v1.4.0
func (_e *Application_Expecter) ProcessProposal(context1 interface{}, requestProcessProposal interface{}) *Application_ProcessProposal_Call
ProcessProposal is a helper method to define mock.On call
- context1 context.Context
- requestProcessProposal *types.RequestProcessProposal
func (*Application_Expecter) Query ¶ added in v1.4.0
func (_e *Application_Expecter) Query(context1 interface{}, requestQuery interface{}) *Application_Query_Call
Query is a helper method to define mock.On call
- context1 context.Context
- requestQuery *types.RequestQuery
func (*Application_Expecter) VerifyVoteExtension ¶ added in v1.4.0
func (_e *Application_Expecter) VerifyVoteExtension(context1 interface{}, requestVerifyVoteExtension interface{}) *Application_VerifyVoteExtension_Call
VerifyVoteExtension is a helper method to define mock.On call
- context1 context.Context
- requestVerifyVoteExtension *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(responseExtendVote *types.ResponseExtendVote, err error) *Application_ExtendVote_Call
func (*Application_ExtendVote_Call) Run ¶ added in v1.4.0
func (_c *Application_ExtendVote_Call) Run(run func(context1 context.Context, requestExtendVote *types.RequestExtendVote)) *Application_ExtendVote_Call
func (*Application_ExtendVote_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_ExtendVote_Call) RunAndReturn(run func(context1 context.Context, requestExtendVote *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(responseFinalizeBlock *types.ResponseFinalizeBlock, err error) *Application_FinalizeBlock_Call
func (*Application_FinalizeBlock_Call) Run ¶ added in v1.4.0
func (_c *Application_FinalizeBlock_Call) Run(run func(context1 context.Context, requestFinalizeBlock *types.RequestFinalizeBlock)) *Application_FinalizeBlock_Call
func (*Application_FinalizeBlock_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_FinalizeBlock_Call) RunAndReturn(run func(context1 context.Context, requestFinalizeBlock *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(responseInfo *types.ResponseInfo, err error) *Application_Info_Call
func (*Application_Info_Call) Run ¶ added in v1.4.0
func (_c *Application_Info_Call) Run(run func(context1 context.Context, requestInfo *types.RequestInfo)) *Application_Info_Call
func (*Application_Info_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_Info_Call) RunAndReturn(run func(context1 context.Context, requestInfo *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(responseInitChain *types.ResponseInitChain, err error) *Application_InitChain_Call
func (*Application_InitChain_Call) Run ¶ added in v1.4.0
func (_c *Application_InitChain_Call) Run(run func(context1 context.Context, requestInitChain *types.RequestInitChain)) *Application_InitChain_Call
func (*Application_InitChain_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_InitChain_Call) RunAndReturn(run func(context1 context.Context, requestInitChain *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(responseListSnapshots *types.ResponseListSnapshots, err error) *Application_ListSnapshots_Call
func (*Application_ListSnapshots_Call) Run ¶ added in v1.4.0
func (_c *Application_ListSnapshots_Call) Run(run func(context1 context.Context, requestListSnapshots *types.RequestListSnapshots)) *Application_ListSnapshots_Call
func (*Application_ListSnapshots_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_ListSnapshots_Call) RunAndReturn(run func(context1 context.Context, requestListSnapshots *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(responseLoadSnapshotChunk *types.ResponseLoadSnapshotChunk, err error) *Application_LoadSnapshotChunk_Call
func (*Application_LoadSnapshotChunk_Call) Run ¶ added in v1.4.0
func (_c *Application_LoadSnapshotChunk_Call) Run(run func(context1 context.Context, requestLoadSnapshotChunk *types.RequestLoadSnapshotChunk)) *Application_LoadSnapshotChunk_Call
func (*Application_LoadSnapshotChunk_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_LoadSnapshotChunk_Call) RunAndReturn(run func(context1 context.Context, requestLoadSnapshotChunk *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(responseOfferSnapshot *types.ResponseOfferSnapshot, err error) *Application_OfferSnapshot_Call
func (*Application_OfferSnapshot_Call) Run ¶ added in v1.4.0
func (_c *Application_OfferSnapshot_Call) Run(run func(context1 context.Context, requestOfferSnapshot *types.RequestOfferSnapshot)) *Application_OfferSnapshot_Call
func (*Application_OfferSnapshot_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_OfferSnapshot_Call) RunAndReturn(run func(context1 context.Context, requestOfferSnapshot *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(responsePrepareProposal *types.ResponsePrepareProposal, err error) *Application_PrepareProposal_Call
func (*Application_PrepareProposal_Call) Run ¶ added in v1.4.0
func (_c *Application_PrepareProposal_Call) Run(run func(context1 context.Context, requestPrepareProposal *types.RequestPrepareProposal)) *Application_PrepareProposal_Call
func (*Application_PrepareProposal_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_PrepareProposal_Call) RunAndReturn(run func(context1 context.Context, requestPrepareProposal *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(responseProcessProposal *types.ResponseProcessProposal, err error) *Application_ProcessProposal_Call
func (*Application_ProcessProposal_Call) Run ¶ added in v1.4.0
func (_c *Application_ProcessProposal_Call) Run(run func(context1 context.Context, requestProcessProposal *types.RequestProcessProposal)) *Application_ProcessProposal_Call
func (*Application_ProcessProposal_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_ProcessProposal_Call) RunAndReturn(run func(context1 context.Context, requestProcessProposal *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(responseQuery *types.ResponseQuery, err error) *Application_Query_Call
func (*Application_Query_Call) Run ¶ added in v1.4.0
func (_c *Application_Query_Call) Run(run func(context1 context.Context, requestQuery *types.RequestQuery)) *Application_Query_Call
func (*Application_Query_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_Query_Call) RunAndReturn(run func(context1 context.Context, requestQuery *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(responseVerifyVoteExtension *types.ResponseVerifyVoteExtension, err error) *Application_VerifyVoteExtension_Call
func (*Application_VerifyVoteExtension_Call) Run ¶ added in v1.4.0
func (_c *Application_VerifyVoteExtension_Call) Run(run func(context1 context.Context, requestVerifyVoteExtension *types.RequestVerifyVoteExtension)) *Application_VerifyVoteExtension_Call
func (*Application_VerifyVoteExtension_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Application_VerifyVoteExtension_Call) RunAndReturn(run func(context1 context.Context, requestVerifyVoteExtension *types.RequestVerifyVoteExtension) (*types.ResponseVerifyVoteExtension, error)) *Application_VerifyVoteExtension_Call