Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: address.go
Generated by this command:
mockgen -source=address.go -destination=mock/address.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: balance.go
Generated by this command:
mockgen -source=balance.go -destination=mock/balance.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: block.go
Generated by this command:
mockgen -source=block.go -destination=mock/block.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: block_stats.go
Generated by this command:
mockgen -source=block_stats.go -destination=mock/block_stats.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: constant.go
Generated by this command:
mockgen -source=constant.go -destination=mock/constant.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: denom_metadata.go
Generated by this command:
mockgen -source=denom_metadata.go -destination=mock/denom_metadata.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: event.go
Generated by this command:
mockgen -source=event.go -destination=mock/event.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: generic.go
Generated by this command:
mockgen -source=generic.go -destination=mock/generic.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: message.go
Generated by this command:
mockgen -source=message.go -destination=mock/message.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: namespace.go
Generated by this command:
mockgen -source=namespace.go -destination=mock/namespace.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: state.go
Generated by this command:
mockgen -source=state.go -destination=mock/state.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: stats.go
Generated by this command:
mockgen -source=stats.go -destination=mock/stats.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: tx.go
Generated by this command:
mockgen -source=tx.go -destination=mock/tx.go -package=mock -typed
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: validator.go
Generated by this command:
mockgen -source=validator.go -destination=mock/validator.go -package=mock -typed
Package mock is a generated GoMock package.
Index ¶
- type IAddressByHashCall
- func (c *IAddressByHashCall) Do(f func(context.Context, []byte) (storage.Address, error)) *IAddressByHashCall
- func (c *IAddressByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Address, error)) *IAddressByHashCall
- func (c *IAddressByHashCall) Return(arg0 storage.Address, arg1 error) *IAddressByHashCall
- type IAddressCursorListCall
- type IAddressGetByIDCall
- func (c *IAddressGetByIDCall) Do(f func(context.Context, uint64) (*storage.Address, error)) *IAddressGetByIDCall
- func (c *IAddressGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Address, error)) *IAddressGetByIDCall
- func (c *IAddressGetByIDCall) Return(arg0 *storage.Address, arg1 error) *IAddressGetByIDCall
- type IAddressIsNoRowsCall
- type IAddressLastIDCall
- type IAddressListCall
- type IAddressListWithBalanceCall
- func (c *IAddressListWithBalanceCall) Do(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *IAddressListWithBalanceCall
- func (c *IAddressListWithBalanceCall) DoAndReturn(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *IAddressListWithBalanceCall
- func (c *IAddressListWithBalanceCall) Return(arg0 []storage.Address, arg1 error) *IAddressListWithBalanceCall
- type IAddressMessagesCall
- type IAddressSaveCall
- type IAddressUpdateCall
- type IBalanceCursorListCall
- type IBalanceGetByIDCall
- func (c *IBalanceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Balance, error)) *IBalanceGetByIDCall
- func (c *IBalanceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Balance, error)) *IBalanceGetByIDCall
- func (c *IBalanceGetByIDCall) Return(arg0 *storage.Balance, arg1 error) *IBalanceGetByIDCall
- type IBalanceIsNoRowsCall
- type IBalanceLastIDCall
- type IBalanceListCall
- type IBalanceSaveCall
- type IBalanceUpdateCall
- type IBlockByHashCall
- func (c *IBlockByHashCall) Do(f func(context.Context, []byte) (storage.Block, error)) *IBlockByHashCall
- func (c *IBlockByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Block, error)) *IBlockByHashCall
- func (c *IBlockByHashCall) Return(arg0 storage.Block, arg1 error) *IBlockByHashCall
- type IBlockByHeightCall
- func (c *IBlockByHeightCall) Do(f func(context.Context, types.Level) (storage.Block, error)) *IBlockByHeightCall
- func (c *IBlockByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.Block, error)) *IBlockByHeightCall
- func (c *IBlockByHeightCall) Return(arg0 storage.Block, arg1 error) *IBlockByHeightCall
- type IBlockByHeightWithStatsCall
- func (c *IBlockByHeightWithStatsCall) Do(f func(context.Context, types.Level) (storage.Block, error)) *IBlockByHeightWithStatsCall
- func (c *IBlockByHeightWithStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.Block, error)) *IBlockByHeightWithStatsCall
- func (c *IBlockByHeightWithStatsCall) Return(arg0 storage.Block, arg1 error) *IBlockByHeightWithStatsCall
- type IBlockByIdWithRelationsCall
- func (c *IBlockByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Block, error)) *IBlockByIdWithRelationsCall
- func (c *IBlockByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Block, error)) *IBlockByIdWithRelationsCall
- func (c *IBlockByIdWithRelationsCall) Return(arg0 storage.Block, arg1 error) *IBlockByIdWithRelationsCall
- type IBlockCursorListCall
- type IBlockGetByIDCall
- func (c *IBlockGetByIDCall) Do(f func(context.Context, uint64) (*storage.Block, error)) *IBlockGetByIDCall
- func (c *IBlockGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Block, error)) *IBlockGetByIDCall
- func (c *IBlockGetByIDCall) Return(arg0 *storage.Block, arg1 error) *IBlockGetByIDCall
- type IBlockIsNoRowsCall
- type IBlockLastCall
- type IBlockLastIDCall
- type IBlockListCall
- type IBlockListWithStatsCall
- type IBlockSaveCall
- type IBlockStatsByHeightCall
- func (c *IBlockStatsByHeightCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *IBlockStatsByHeightCall
- func (c *IBlockStatsByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *IBlockStatsByHeightCall
- func (c *IBlockStatsByHeightCall) Return(arg0 storage.BlockStats, arg1 error) *IBlockStatsByHeightCall
- type IBlockStatsLastFromCall
- func (c *IBlockStatsLastFromCall) Do(f func(context.Context, types.Level, int) ([]storage.BlockStats, error)) *IBlockStatsLastFromCall
- func (c *IBlockStatsLastFromCall) DoAndReturn(f func(context.Context, types.Level, int) ([]storage.BlockStats, error)) *IBlockStatsLastFromCall
- func (c *IBlockStatsLastFromCall) Return(arg0 []storage.BlockStats, arg1 error) *IBlockStatsLastFromCall
- type IBlockUpdateCall
- type IConstantAllCall
- type IConstantByModuleCall
- func (c *IConstantByModuleCall) Do(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *IConstantByModuleCall
- func (c *IConstantByModuleCall) DoAndReturn(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *IConstantByModuleCall
- func (c *IConstantByModuleCall) Return(arg0 []storage.Constant, arg1 error) *IConstantByModuleCall
- type IConstantGetCall
- func (c *IConstantGetCall) Do(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *IConstantGetCall
- func (c *IConstantGetCall) DoAndReturn(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *IConstantGetCall
- func (c *IConstantGetCall) Return(arg0 storage.Constant, arg1 error) *IConstantGetCall
- type IDenomMetadataAllCall
- func (c *IDenomMetadataAllCall) Do(f func(context.Context) ([]storage.DenomMetadata, error)) *IDenomMetadataAllCall
- func (c *IDenomMetadataAllCall) DoAndReturn(f func(context.Context) ([]storage.DenomMetadata, error)) *IDenomMetadataAllCall
- func (c *IDenomMetadataAllCall) Return(arg0 []storage.DenomMetadata, arg1 error) *IDenomMetadataAllCall
- type IEventByBlockCall
- func (c *IEventByBlockCall) Do(f func(context.Context, types.Level) ([]storage.Event, error)) *IEventByBlockCall
- func (c *IEventByBlockCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Event, error)) *IEventByBlockCall
- func (c *IEventByBlockCall) Return(arg0 []storage.Event, arg1 error) *IEventByBlockCall
- type IEventByTxIdCall
- func (c *IEventByTxIdCall) Do(f func(context.Context, uint64) ([]storage.Event, error)) *IEventByTxIdCall
- func (c *IEventByTxIdCall) DoAndReturn(f func(context.Context, uint64) ([]storage.Event, error)) *IEventByTxIdCall
- func (c *IEventByTxIdCall) Return(arg0 []storage.Event, arg1 error) *IEventByTxIdCall
- type IEventCursorListCall
- type IEventGetByIDCall
- func (c *IEventGetByIDCall) Do(f func(context.Context, uint64) (*storage.Event, error)) *IEventGetByIDCall
- func (c *IEventGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Event, error)) *IEventGetByIDCall
- func (c *IEventGetByIDCall) Return(arg0 *storage.Event, arg1 error) *IEventGetByIDCall
- type IEventIsNoRowsCall
- type IEventLastIDCall
- type IEventListCall
- type IEventSaveCall
- type IEventUpdateCall
- type IMessageByTxIdCall
- func (c *IMessageByTxIdCall) Do(f func(context.Context, uint64) ([]storage.Message, error)) *IMessageByTxIdCall
- func (c *IMessageByTxIdCall) DoAndReturn(f func(context.Context, uint64) ([]storage.Message, error)) *IMessageByTxIdCall
- func (c *IMessageByTxIdCall) Return(arg0 []storage.Message, arg1 error) *IMessageByTxIdCall
- type IMessageCursorListCall
- type IMessageGetByIDCall
- func (c *IMessageGetByIDCall) Do(f func(context.Context, uint64) (*storage.Message, error)) *IMessageGetByIDCall
- func (c *IMessageGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Message, error)) *IMessageGetByIDCall
- func (c *IMessageGetByIDCall) Return(arg0 *storage.Message, arg1 error) *IMessageGetByIDCall
- type IMessageIsNoRowsCall
- type IMessageLastIDCall
- type IMessageListCall
- type IMessageListWithTxCall
- type IMessageSaveCall
- type IMessageUpdateCall
- type INamespaceByNamespaceIdAndVersionCall
- func (c *INamespaceByNamespaceIdAndVersionCall) Do(f func(context.Context, []byte, byte) (storage.Namespace, error)) *INamespaceByNamespaceIdAndVersionCall
- func (c *INamespaceByNamespaceIdAndVersionCall) DoAndReturn(f func(context.Context, []byte, byte) (storage.Namespace, error)) *INamespaceByNamespaceIdAndVersionCall
- func (c *INamespaceByNamespaceIdAndVersionCall) Return(arg0 storage.Namespace, arg1 error) *INamespaceByNamespaceIdAndVersionCall
- type INamespaceByNamespaceIdCall
- func (c *INamespaceByNamespaceIdCall) Do(f func(context.Context, []byte) ([]storage.Namespace, error)) *INamespaceByNamespaceIdCall
- func (c *INamespaceByNamespaceIdCall) DoAndReturn(f func(context.Context, []byte) ([]storage.Namespace, error)) *INamespaceByNamespaceIdCall
- func (c *INamespaceByNamespaceIdCall) Return(arg0 []storage.Namespace, arg1 error) *INamespaceByNamespaceIdCall
- type INamespaceCountMessagesByHeightCall
- func (c *INamespaceCountMessagesByHeightCall) Do(f func(context.Context, types.Level) (int, error)) *INamespaceCountMessagesByHeightCall
- func (c *INamespaceCountMessagesByHeightCall) DoAndReturn(f func(context.Context, types.Level) (int, error)) *INamespaceCountMessagesByHeightCall
- func (c *INamespaceCountMessagesByHeightCall) Return(arg0 int, arg1 error) *INamespaceCountMessagesByHeightCall
- type INamespaceCursorListCall
- type INamespaceGetByIDCall
- func (c *INamespaceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Namespace, error)) *INamespaceGetByIDCall
- func (c *INamespaceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Namespace, error)) *INamespaceGetByIDCall
- func (c *INamespaceGetByIDCall) Return(arg0 *storage.Namespace, arg1 error) *INamespaceGetByIDCall
- type INamespaceIsNoRowsCall
- type INamespaceLastIDCall
- type INamespaceListCall
- type INamespaceListWithSortCall
- type INamespaceMessagesByHeightCall
- type INamespaceMessagesCall
- func (c *INamespaceMessagesCall) Do(f func(context.Context, uint64, int, int) ([]storage.NamespaceMessage, error)) *INamespaceMessagesCall
- func (c *INamespaceMessagesCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.NamespaceMessage, error)) *INamespaceMessagesCall
- func (c *INamespaceMessagesCall) Return(arg0 []storage.NamespaceMessage, arg1 error) *INamespaceMessagesCall
- type INamespaceSaveCall
- type INamespaceUpdateCall
- type IStateByNameCall
- func (c *IStateByNameCall) Do(f func(context.Context, string) (storage.State, error)) *IStateByNameCall
- func (c *IStateByNameCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *IStateByNameCall
- func (c *IStateByNameCall) Return(arg0 storage.State, arg1 error) *IStateByNameCall
- type IStateCursorListCall
- type IStateGetByIDCall
- func (c *IStateGetByIDCall) Do(f func(context.Context, uint64) (*storage.State, error)) *IStateGetByIDCall
- func (c *IStateGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.State, error)) *IStateGetByIDCall
- func (c *IStateGetByIDCall) Return(arg0 *storage.State, arg1 error) *IStateGetByIDCall
- type IStateIsNoRowsCall
- type IStateLastIDCall
- type IStateListCall
- type IStateSaveCall
- type IStateUpdateCall
- type IStatsCountCall
- func (c *IStatsCountCall) Do(f func(context.Context, storage.CountRequest) (string, error)) *IStatsCountCall
- func (c *IStatsCountCall) DoAndReturn(f func(context.Context, storage.CountRequest) (string, error)) *IStatsCountCall
- func (c *IStatsCountCall) Return(arg0 string, arg1 error) *IStatsCountCall
- type IStatsHistogramCall
- type IStatsHistogramCountCall
- type IStatsNamespaceSeriesCall
- type IStatsSeriesCall
- type IStatsSummaryCall
- func (c *IStatsSummaryCall) Do(f func(context.Context, storage.SummaryRequest) (string, error)) *IStatsSummaryCall
- func (c *IStatsSummaryCall) DoAndReturn(f func(context.Context, storage.SummaryRequest) (string, error)) *IStatsSummaryCall
- func (c *IStatsSummaryCall) Return(arg0 string, arg1 error) *IStatsSummaryCall
- type IStatsTPSCall
- type IStatsTxCountForLast24hCall
- func (c *IStatsTxCountForLast24hCall) Do(f func(context.Context) ([]storage.TxCountForLast24hItem, error)) *IStatsTxCountForLast24hCall
- func (c *IStatsTxCountForLast24hCall) DoAndReturn(f func(context.Context) ([]storage.TxCountForLast24hItem, error)) *IStatsTxCountForLast24hCall
- func (c *IStatsTxCountForLast24hCall) Return(arg0 []storage.TxCountForLast24hItem, arg1 error) *IStatsTxCountForLast24hCall
- type ITxByAddressCall
- func (c *ITxByAddressCall) Do(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *ITxByAddressCall
- func (c *ITxByAddressCall) DoAndReturn(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *ITxByAddressCall
- func (c *ITxByAddressCall) Return(arg0 []storage.Tx, arg1 error) *ITxByAddressCall
- type ITxByHashCall
- type ITxByIdWithRelationsCall
- func (c *ITxByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Tx, error)) *ITxByIdWithRelationsCall
- func (c *ITxByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Tx, error)) *ITxByIdWithRelationsCall
- func (c *ITxByIdWithRelationsCall) Return(arg0 storage.Tx, arg1 error) *ITxByIdWithRelationsCall
- type ITxCursorListCall
- type ITxFilterCall
- type ITxGasCall
- type ITxGenesisCall
- func (c *ITxGenesisCall) Do(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Tx, error)) *ITxGenesisCall
- func (c *ITxGenesisCall) DoAndReturn(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Tx, error)) *ITxGenesisCall
- func (c *ITxGenesisCall) Return(arg0 []storage.Tx, arg1 error) *ITxGenesisCall
- type ITxGetByIDCall
- type ITxIsNoRowsCall
- type ITxLastIDCall
- type ITxListCall
- type ITxSaveCall
- type ITxUpdateCall
- type IValidatorByAddressCall
- func (c *IValidatorByAddressCall) Do(f func(context.Context, string) (storage.Validator, error)) *IValidatorByAddressCall
- func (c *IValidatorByAddressCall) DoAndReturn(f func(context.Context, string) (storage.Validator, error)) *IValidatorByAddressCall
- func (c *IValidatorByAddressCall) Return(arg0 storage.Validator, arg1 error) *IValidatorByAddressCall
- type IValidatorCursorListCall
- type IValidatorGetByIDCall
- func (c *IValidatorGetByIDCall) Do(f func(context.Context, uint64) (*storage.Validator, error)) *IValidatorGetByIDCall
- func (c *IValidatorGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Validator, error)) *IValidatorGetByIDCall
- func (c *IValidatorGetByIDCall) Return(arg0 *storage.Validator, arg1 error) *IValidatorGetByIDCall
- type IValidatorIsNoRowsCall
- type IValidatorLastIDCall
- type IValidatorListCall
- type IValidatorSaveCall
- type IValidatorUpdateCall
- type ListenerCloseCall
- type ListenerFactoryCreateListenerCall
- func (c *ListenerFactoryCreateListenerCall) Do(f func() storage.Listener) *ListenerFactoryCreateListenerCall
- func (c *ListenerFactoryCreateListenerCall) DoAndReturn(f func() storage.Listener) *ListenerFactoryCreateListenerCall
- func (c *ListenerFactoryCreateListenerCall) Return(arg0 storage.Listener) *ListenerFactoryCreateListenerCall
- type ListenerListenCall
- type ListenerSubscribeCall
- type MockIAddress
- func (m *MockIAddress) ByHash(ctx context.Context, hash []byte) (storage.Address, error)
- func (m *MockIAddress) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Address, error)
- func (m *MockIAddress) EXPECT() *MockIAddressMockRecorder
- func (m *MockIAddress) GetByID(ctx context.Context, id uint64) (*storage.Address, error)
- func (m *MockIAddress) IsNoRows(err error) bool
- func (m *MockIAddress) LastID(ctx context.Context) (uint64, error)
- func (m *MockIAddress) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Address, error)
- func (m *MockIAddress) ListWithBalance(ctx context.Context, filters storage.AddressListFilter) ([]storage.Address, error)
- func (m *MockIAddress) Messages(ctx context.Context, id uint64, filters storage.AddressMsgsFilter) ([]storage.MsgAddress, error)
- func (m_2 *MockIAddress) Save(ctx context.Context, m *storage.Address) error
- func (m_2 *MockIAddress) Update(ctx context.Context, m *storage.Address) error
- type MockIAddressMockRecorder
- func (mr *MockIAddressMockRecorder) ByHash(ctx, hash any) *IAddressByHashCall
- func (mr *MockIAddressMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IAddressCursorListCall
- func (mr *MockIAddressMockRecorder) GetByID(ctx, id any) *IAddressGetByIDCall
- func (mr *MockIAddressMockRecorder) IsNoRows(err any) *IAddressIsNoRowsCall
- func (mr *MockIAddressMockRecorder) LastID(ctx any) *IAddressLastIDCall
- func (mr *MockIAddressMockRecorder) List(ctx, limit, offset, order any) *IAddressListCall
- func (mr *MockIAddressMockRecorder) ListWithBalance(ctx, filters any) *IAddressListWithBalanceCall
- func (mr *MockIAddressMockRecorder) Messages(ctx, id, filters any) *IAddressMessagesCall
- func (mr *MockIAddressMockRecorder) Save(ctx, m any) *IAddressSaveCall
- func (mr *MockIAddressMockRecorder) Update(ctx, m any) *IAddressUpdateCall
- type MockIBalance
- func (m *MockIBalance) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Balance, error)
- func (m *MockIBalance) EXPECT() *MockIBalanceMockRecorder
- func (m *MockIBalance) GetByID(ctx context.Context, id uint64) (*storage.Balance, error)
- func (m *MockIBalance) IsNoRows(err error) bool
- func (m *MockIBalance) LastID(ctx context.Context) (uint64, error)
- func (m *MockIBalance) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Balance, error)
- func (m_2 *MockIBalance) Save(ctx context.Context, m *storage.Balance) error
- func (m_2 *MockIBalance) Update(ctx context.Context, m *storage.Balance) error
- type MockIBalanceMockRecorder
- func (mr *MockIBalanceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IBalanceCursorListCall
- func (mr *MockIBalanceMockRecorder) GetByID(ctx, id any) *IBalanceGetByIDCall
- func (mr *MockIBalanceMockRecorder) IsNoRows(err any) *IBalanceIsNoRowsCall
- func (mr *MockIBalanceMockRecorder) LastID(ctx any) *IBalanceLastIDCall
- func (mr *MockIBalanceMockRecorder) List(ctx, limit, offset, order any) *IBalanceListCall
- func (mr *MockIBalanceMockRecorder) Save(ctx, m any) *IBalanceSaveCall
- func (mr *MockIBalanceMockRecorder) Update(ctx, m any) *IBalanceUpdateCall
- type MockIBlock
- func (m *MockIBlock) ByHash(ctx context.Context, hash []byte) (storage.Block, error)
- func (m *MockIBlock) ByHeight(ctx context.Context, height types.Level) (storage.Block, error)
- func (m *MockIBlock) ByHeightWithStats(ctx context.Context, height types.Level) (storage.Block, error)
- func (m *MockIBlock) ByIdWithRelations(ctx context.Context, id uint64) (storage.Block, error)
- func (m *MockIBlock) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Block, error)
- func (m *MockIBlock) EXPECT() *MockIBlockMockRecorder
- func (m *MockIBlock) GetByID(ctx context.Context, id uint64) (*storage.Block, error)
- func (m *MockIBlock) IsNoRows(err error) bool
- func (m *MockIBlock) Last(ctx context.Context) (storage.Block, error)
- func (m *MockIBlock) LastID(ctx context.Context) (uint64, error)
- func (m *MockIBlock) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Block, error)
- func (m *MockIBlock) ListWithStats(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Block, error)
- func (m_2 *MockIBlock) Save(ctx context.Context, m *storage.Block) error
- func (m_2 *MockIBlock) Update(ctx context.Context, m *storage.Block) error
- type MockIBlockMockRecorder
- func (mr *MockIBlockMockRecorder) ByHash(ctx, hash any) *IBlockByHashCall
- func (mr *MockIBlockMockRecorder) ByHeight(ctx, height any) *IBlockByHeightCall
- func (mr *MockIBlockMockRecorder) ByHeightWithStats(ctx, height any) *IBlockByHeightWithStatsCall
- func (mr *MockIBlockMockRecorder) ByIdWithRelations(ctx, id any) *IBlockByIdWithRelationsCall
- func (mr *MockIBlockMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IBlockCursorListCall
- func (mr *MockIBlockMockRecorder) GetByID(ctx, id any) *IBlockGetByIDCall
- func (mr *MockIBlockMockRecorder) IsNoRows(err any) *IBlockIsNoRowsCall
- func (mr *MockIBlockMockRecorder) Last(ctx any) *IBlockLastCall
- func (mr *MockIBlockMockRecorder) LastID(ctx any) *IBlockLastIDCall
- func (mr *MockIBlockMockRecorder) List(ctx, limit, offset, order any) *IBlockListCall
- func (mr *MockIBlockMockRecorder) ListWithStats(ctx, limit, offset, order any) *IBlockListWithStatsCall
- func (mr *MockIBlockMockRecorder) Save(ctx, m any) *IBlockSaveCall
- func (mr *MockIBlockMockRecorder) Update(ctx, m any) *IBlockUpdateCall
- type MockIBlockStats
- type MockIBlockStatsMockRecorder
- type MockIConstant
- func (m *MockIConstant) All(ctx context.Context) ([]storage.Constant, error)
- func (m *MockIConstant) ByModule(ctx context.Context, module types.ModuleName) ([]storage.Constant, error)
- func (m *MockIConstant) EXPECT() *MockIConstantMockRecorder
- func (m *MockIConstant) Get(ctx context.Context, module types.ModuleName, name string) (storage.Constant, error)
- type MockIConstantMockRecorder
- type MockIDenomMetadata
- type MockIDenomMetadataMockRecorder
- type MockIEvent
- func (m *MockIEvent) ByBlock(ctx context.Context, height types.Level) ([]storage.Event, error)
- func (m *MockIEvent) ByTxId(ctx context.Context, txId uint64) ([]storage.Event, error)
- func (m *MockIEvent) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Event, error)
- func (m *MockIEvent) EXPECT() *MockIEventMockRecorder
- func (m *MockIEvent) GetByID(ctx context.Context, id uint64) (*storage.Event, error)
- func (m *MockIEvent) IsNoRows(err error) bool
- func (m *MockIEvent) LastID(ctx context.Context) (uint64, error)
- func (m *MockIEvent) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Event, error)
- func (m_2 *MockIEvent) Save(ctx context.Context, m *storage.Event) error
- func (m_2 *MockIEvent) Update(ctx context.Context, m *storage.Event) error
- type MockIEventMockRecorder
- func (mr *MockIEventMockRecorder) ByBlock(ctx, height any) *IEventByBlockCall
- func (mr *MockIEventMockRecorder) ByTxId(ctx, txId any) *IEventByTxIdCall
- func (mr *MockIEventMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IEventCursorListCall
- func (mr *MockIEventMockRecorder) GetByID(ctx, id any) *IEventGetByIDCall
- func (mr *MockIEventMockRecorder) IsNoRows(err any) *IEventIsNoRowsCall
- func (mr *MockIEventMockRecorder) LastID(ctx any) *IEventLastIDCall
- func (mr *MockIEventMockRecorder) List(ctx, limit, offset, order any) *IEventListCall
- func (mr *MockIEventMockRecorder) Save(ctx, m any) *IEventSaveCall
- func (mr *MockIEventMockRecorder) Update(ctx, m any) *IEventUpdateCall
- type MockIMessage
- func (m *MockIMessage) ByTxId(ctx context.Context, txId uint64) ([]storage.Message, error)
- func (m *MockIMessage) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Message, error)
- func (m *MockIMessage) EXPECT() *MockIMessageMockRecorder
- func (m *MockIMessage) GetByID(ctx context.Context, id uint64) (*storage.Message, error)
- func (m *MockIMessage) IsNoRows(err error) bool
- func (m *MockIMessage) LastID(ctx context.Context) (uint64, error)
- func (m *MockIMessage) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Message, error)
- func (m *MockIMessage) ListWithTx(ctx context.Context, filters storage.MessageListWithTxFilters) ([]storage.MessageWithTx, error)
- func (m_2 *MockIMessage) Save(ctx context.Context, m *storage.Message) error
- func (m_2 *MockIMessage) Update(ctx context.Context, m *storage.Message) error
- type MockIMessageMockRecorder
- func (mr *MockIMessageMockRecorder) ByTxId(ctx, txId any) *IMessageByTxIdCall
- func (mr *MockIMessageMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IMessageCursorListCall
- func (mr *MockIMessageMockRecorder) GetByID(ctx, id any) *IMessageGetByIDCall
- func (mr *MockIMessageMockRecorder) IsNoRows(err any) *IMessageIsNoRowsCall
- func (mr *MockIMessageMockRecorder) LastID(ctx any) *IMessageLastIDCall
- func (mr *MockIMessageMockRecorder) List(ctx, limit, offset, order any) *IMessageListCall
- func (mr *MockIMessageMockRecorder) ListWithTx(ctx, filters any) *IMessageListWithTxCall
- func (mr *MockIMessageMockRecorder) Save(ctx, m any) *IMessageSaveCall
- func (mr *MockIMessageMockRecorder) Update(ctx, m any) *IMessageUpdateCall
- type MockINamespace
- func (m *MockINamespace) ByNamespaceId(ctx context.Context, namespaceId []byte) ([]storage.Namespace, error)
- func (m *MockINamespace) ByNamespaceIdAndVersion(ctx context.Context, namespaceId []byte, version byte) (storage.Namespace, error)
- func (m *MockINamespace) CountMessagesByHeight(ctx context.Context, height types.Level) (int, error)
- func (m *MockINamespace) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Namespace, error)
- func (m *MockINamespace) EXPECT() *MockINamespaceMockRecorder
- func (m *MockINamespace) GetByID(ctx context.Context, id uint64) (*storage.Namespace, error)
- func (m *MockINamespace) IsNoRows(err error) bool
- func (m *MockINamespace) LastID(ctx context.Context) (uint64, error)
- func (m *MockINamespace) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Namespace, error)
- func (m *MockINamespace) ListWithSort(ctx context.Context, sortField string, sort storage0.SortOrder, ...) ([]storage.Namespace, error)
- func (m *MockINamespace) Messages(ctx context.Context, id uint64, limit, offset int) ([]storage.NamespaceMessage, error)
- func (m *MockINamespace) MessagesByHeight(ctx context.Context, height types.Level, limit, offset int) ([]storage.NamespaceMessage, error)
- func (m_2 *MockINamespace) Save(ctx context.Context, m *storage.Namespace) error
- func (m_2 *MockINamespace) Update(ctx context.Context, m *storage.Namespace) error
- type MockINamespaceMockRecorder
- func (mr *MockINamespaceMockRecorder) ByNamespaceId(ctx, namespaceId any) *INamespaceByNamespaceIdCall
- func (mr *MockINamespaceMockRecorder) ByNamespaceIdAndVersion(ctx, namespaceId, version any) *INamespaceByNamespaceIdAndVersionCall
- func (mr *MockINamespaceMockRecorder) CountMessagesByHeight(ctx, height any) *INamespaceCountMessagesByHeightCall
- func (mr *MockINamespaceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *INamespaceCursorListCall
- func (mr *MockINamespaceMockRecorder) GetByID(ctx, id any) *INamespaceGetByIDCall
- func (mr *MockINamespaceMockRecorder) IsNoRows(err any) *INamespaceIsNoRowsCall
- func (mr *MockINamespaceMockRecorder) LastID(ctx any) *INamespaceLastIDCall
- func (mr *MockINamespaceMockRecorder) List(ctx, limit, offset, order any) *INamespaceListCall
- func (mr *MockINamespaceMockRecorder) ListWithSort(ctx, sortField, sort, limit, offset any) *INamespaceListWithSortCall
- func (mr *MockINamespaceMockRecorder) Messages(ctx, id, limit, offset any) *INamespaceMessagesCall
- func (mr *MockINamespaceMockRecorder) MessagesByHeight(ctx, height, limit, offset any) *INamespaceMessagesByHeightCall
- func (mr *MockINamespaceMockRecorder) Save(ctx, m any) *INamespaceSaveCall
- func (mr *MockINamespaceMockRecorder) Update(ctx, m any) *INamespaceUpdateCall
- type MockIState
- func (m *MockIState) ByName(ctx context.Context, name string) (storage.State, error)
- func (m *MockIState) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.State, error)
- func (m *MockIState) EXPECT() *MockIStateMockRecorder
- func (m *MockIState) GetByID(ctx context.Context, id uint64) (*storage.State, error)
- func (m *MockIState) IsNoRows(err error) bool
- func (m *MockIState) LastID(ctx context.Context) (uint64, error)
- func (m *MockIState) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.State, error)
- func (m_2 *MockIState) Save(ctx context.Context, m *storage.State) error
- func (m_2 *MockIState) Update(ctx context.Context, m *storage.State) error
- type MockIStateMockRecorder
- func (mr *MockIStateMockRecorder) ByName(ctx, name any) *IStateByNameCall
- func (mr *MockIStateMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IStateCursorListCall
- func (mr *MockIStateMockRecorder) GetByID(ctx, id any) *IStateGetByIDCall
- func (mr *MockIStateMockRecorder) IsNoRows(err any) *IStateIsNoRowsCall
- func (mr *MockIStateMockRecorder) LastID(ctx any) *IStateLastIDCall
- func (mr *MockIStateMockRecorder) List(ctx, limit, offset, order any) *IStateListCall
- func (mr *MockIStateMockRecorder) Save(ctx, m any) *IStateSaveCall
- func (mr *MockIStateMockRecorder) Update(ctx, m any) *IStateUpdateCall
- type MockIStats
- func (m *MockIStats) Count(ctx context.Context, req storage.CountRequest) (string, error)
- func (m *MockIStats) EXPECT() *MockIStatsMockRecorder
- func (m *MockIStats) Histogram(ctx context.Context, req storage.HistogramRequest) ([]storage.HistogramItem, error)
- func (m *MockIStats) HistogramCount(ctx context.Context, req storage.HistogramCountRequest) ([]storage.HistogramItem, error)
- func (m *MockIStats) NamespaceSeries(ctx context.Context, timeframe storage.Timeframe, name string, nsId uint64, ...) ([]storage.SeriesItem, error)
- func (m *MockIStats) Series(ctx context.Context, timeframe storage.Timeframe, name string, ...) ([]storage.SeriesItem, error)
- func (m *MockIStats) Summary(ctx context.Context, req storage.SummaryRequest) (string, error)
- func (m *MockIStats) TPS(ctx context.Context) (storage.TPS, error)
- func (m *MockIStats) TxCountForLast24h(ctx context.Context) ([]storage.TxCountForLast24hItem, error)
- type MockIStatsMockRecorder
- func (mr *MockIStatsMockRecorder) Count(ctx, req any) *IStatsCountCall
- func (mr *MockIStatsMockRecorder) Histogram(ctx, req any) *IStatsHistogramCall
- func (mr *MockIStatsMockRecorder) HistogramCount(ctx, req any) *IStatsHistogramCountCall
- func (mr *MockIStatsMockRecorder) NamespaceSeries(ctx, timeframe, name, nsId, req any) *IStatsNamespaceSeriesCall
- func (mr *MockIStatsMockRecorder) Series(ctx, timeframe, name, req any) *IStatsSeriesCall
- func (mr *MockIStatsMockRecorder) Summary(ctx, req any) *IStatsSummaryCall
- func (mr *MockIStatsMockRecorder) TPS(ctx any) *IStatsTPSCall
- func (mr *MockIStatsMockRecorder) TxCountForLast24h(ctx any) *IStatsTxCountForLast24hCall
- type MockITx
- func (m *MockITx) ByAddress(ctx context.Context, addressId uint64, fltrs storage.TxFilter) ([]storage.Tx, error)
- func (m *MockITx) ByHash(ctx context.Context, hash []byte) (storage.Tx, error)
- func (m *MockITx) ByIdWithRelations(ctx context.Context, id uint64) (storage.Tx, error)
- func (m *MockITx) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Tx, error)
- func (m *MockITx) EXPECT() *MockITxMockRecorder
- func (m *MockITx) Filter(ctx context.Context, fltrs storage.TxFilter) ([]storage.Tx, error)
- func (m *MockITx) Gas(ctx context.Context, height types.Level) ([]storage.Gas, error)
- func (m *MockITx) Genesis(ctx context.Context, limit, offset int, sortOrder storage0.SortOrder) ([]storage.Tx, error)
- func (m *MockITx) GetByID(ctx context.Context, id uint64) (*storage.Tx, error)
- func (m *MockITx) IsNoRows(err error) bool
- func (m *MockITx) LastID(ctx context.Context) (uint64, error)
- func (m *MockITx) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Tx, error)
- func (m_2 *MockITx) Save(ctx context.Context, m *storage.Tx) error
- func (m_2 *MockITx) Update(ctx context.Context, m *storage.Tx) error
- type MockITxMockRecorder
- func (mr *MockITxMockRecorder) ByAddress(ctx, addressId, fltrs any) *ITxByAddressCall
- func (mr *MockITxMockRecorder) ByHash(ctx, hash any) *ITxByHashCall
- func (mr *MockITxMockRecorder) ByIdWithRelations(ctx, id any) *ITxByIdWithRelationsCall
- func (mr *MockITxMockRecorder) CursorList(ctx, id, limit, order, cmp any) *ITxCursorListCall
- func (mr *MockITxMockRecorder) Filter(ctx, fltrs any) *ITxFilterCall
- func (mr *MockITxMockRecorder) Gas(ctx, height any) *ITxGasCall
- func (mr *MockITxMockRecorder) Genesis(ctx, limit, offset, sortOrder any) *ITxGenesisCall
- func (mr *MockITxMockRecorder) GetByID(ctx, id any) *ITxGetByIDCall
- func (mr *MockITxMockRecorder) IsNoRows(err any) *ITxIsNoRowsCall
- func (mr *MockITxMockRecorder) LastID(ctx any) *ITxLastIDCall
- func (mr *MockITxMockRecorder) List(ctx, limit, offset, order any) *ITxListCall
- func (mr *MockITxMockRecorder) Save(ctx, m any) *ITxSaveCall
- func (mr *MockITxMockRecorder) Update(ctx, m any) *ITxUpdateCall
- type MockIValidator
- func (m *MockIValidator) ByAddress(ctx context.Context, address string) (storage.Validator, error)
- func (m *MockIValidator) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, ...) ([]*storage.Validator, error)
- func (m *MockIValidator) EXPECT() *MockIValidatorMockRecorder
- func (m *MockIValidator) GetByID(ctx context.Context, id uint64) (*storage.Validator, error)
- func (m *MockIValidator) IsNoRows(err error) bool
- func (m *MockIValidator) LastID(ctx context.Context) (uint64, error)
- func (m *MockIValidator) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Validator, error)
- func (m_2 *MockIValidator) Save(ctx context.Context, m *storage.Validator) error
- func (m_2 *MockIValidator) Update(ctx context.Context, m *storage.Validator) error
- type MockIValidatorMockRecorder
- func (mr *MockIValidatorMockRecorder) ByAddress(ctx, address any) *IValidatorByAddressCall
- func (mr *MockIValidatorMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IValidatorCursorListCall
- func (mr *MockIValidatorMockRecorder) GetByID(ctx, id any) *IValidatorGetByIDCall
- func (mr *MockIValidatorMockRecorder) IsNoRows(err any) *IValidatorIsNoRowsCall
- func (mr *MockIValidatorMockRecorder) LastID(ctx any) *IValidatorLastIDCall
- func (mr *MockIValidatorMockRecorder) List(ctx, limit, offset, order any) *IValidatorListCall
- func (mr *MockIValidatorMockRecorder) Save(ctx, m any) *IValidatorSaveCall
- func (mr *MockIValidatorMockRecorder) Update(ctx, m any) *IValidatorUpdateCall
- type MockListener
- type MockListenerFactory
- type MockListenerFactoryMockRecorder
- type MockListenerMockRecorder
- type MockNotificator
- type MockNotificatorMockRecorder
- type MockTransaction
- func (m *MockTransaction) Add(ctx context.Context, model any) error
- func (m *MockTransaction) BulkSave(ctx context.Context, models []any) error
- func (m *MockTransaction) Close(ctx context.Context) error
- func (m *MockTransaction) CopyFrom(ctx context.Context, tableName string, data []storage0.Copiable) error
- func (m *MockTransaction) DeleteBalances(ctx context.Context, ids []uint64) error
- func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
- func (m *MockTransaction) Exec(ctx context.Context, query string, params ...any) (int64, error)
- func (m *MockTransaction) Flush(ctx context.Context) error
- func (m *MockTransaction) GetProposerId(ctx context.Context, address string) (uint64, error)
- func (m *MockTransaction) HandleError(ctx context.Context, err error) error
- func (m *MockTransaction) LastAddressAction(ctx context.Context, address []byte) (uint64, error)
- func (m *MockTransaction) LastBlock(ctx context.Context) (storage.Block, error)
- func (m *MockTransaction) LastNamespaceMessage(ctx context.Context, nsId uint64) (storage.NamespaceMessage, error)
- func (m *MockTransaction) Namespace(ctx context.Context, id uint64) (storage.Namespace, error)
- func (m *MockTransaction) Rollback(ctx context.Context) error
- func (m *MockTransaction) RollbackAddresses(ctx context.Context, height types.Level) ([]storage.Address, error)
- func (m *MockTransaction) RollbackBlock(ctx context.Context, height types.Level) error
- func (m *MockTransaction) RollbackBlockStats(ctx context.Context, height types.Level) (storage.BlockStats, error)
- func (m *MockTransaction) RollbackEvents(ctx context.Context, height types.Level) ([]storage.Event, error)
- func (m *MockTransaction) RollbackMessageAddresses(ctx context.Context, msgIds []uint64) error
- func (m *MockTransaction) RollbackMessages(ctx context.Context, height types.Level) ([]storage.Message, error)
- func (m *MockTransaction) RollbackNamespaceMessages(ctx context.Context, height types.Level) ([]storage.NamespaceMessage, error)
- func (m *MockTransaction) RollbackNamespaces(ctx context.Context, height types.Level) ([]storage.Namespace, error)
- func (m *MockTransaction) RollbackSigners(ctx context.Context, txIds []uint64) error
- func (m *MockTransaction) RollbackTxs(ctx context.Context, height types.Level) ([]storage.Tx, error)
- func (m *MockTransaction) RollbackValidators(ctx context.Context, height types.Level) error
- func (m *MockTransaction) SaveAddresses(ctx context.Context, addresses ...*storage.Address) (int64, error)
- func (m *MockTransaction) SaveBalances(ctx context.Context, balances ...storage.Balance) error
- func (m *MockTransaction) SaveConstants(ctx context.Context, constants ...storage.Constant) error
- func (m *MockTransaction) SaveEvents(ctx context.Context, events ...storage.Event) error
- func (m *MockTransaction) SaveMessages(ctx context.Context, msgs ...*storage.Message) error
- func (m *MockTransaction) SaveMsgAddresses(ctx context.Context, addresses ...storage.MsgAddress) error
- func (m *MockTransaction) SaveNamespaceMessage(ctx context.Context, nsMsgs ...storage.NamespaceMessage) error
- func (m *MockTransaction) SaveNamespaces(ctx context.Context, namespaces ...*storage.Namespace) (int64, error)
- func (m *MockTransaction) SaveSigners(ctx context.Context, addresses ...storage.Signer) error
- func (m *MockTransaction) SaveTransactions(ctx context.Context, txs ...storage.Tx) error
- func (m *MockTransaction) SaveValidators(ctx context.Context, validators ...*storage.Validator) error
- func (m *MockTransaction) State(ctx context.Context, name string) (storage.State, error)
- func (m *MockTransaction) Tx() *bun.Tx
- func (m *MockTransaction) Update(ctx context.Context, model any) error
- type MockTransactionMockRecorder
- func (mr *MockTransactionMockRecorder) Add(ctx, model any) *TransactionAddCall
- func (mr *MockTransactionMockRecorder) BulkSave(ctx, models any) *TransactionBulkSaveCall
- func (mr *MockTransactionMockRecorder) Close(ctx any) *TransactionCloseCall
- func (mr *MockTransactionMockRecorder) CopyFrom(ctx, tableName, data any) *TransactionCopyFromCall
- func (mr *MockTransactionMockRecorder) DeleteBalances(ctx, ids any) *TransactionDeleteBalancesCall
- func (mr *MockTransactionMockRecorder) Exec(ctx, query any, params ...any) *TransactionExecCall
- func (mr *MockTransactionMockRecorder) Flush(ctx any) *TransactionFlushCall
- func (mr *MockTransactionMockRecorder) GetProposerId(ctx, address any) *TransactionGetProposerIdCall
- func (mr *MockTransactionMockRecorder) HandleError(ctx, err any) *TransactionHandleErrorCall
- func (mr *MockTransactionMockRecorder) LastAddressAction(ctx, address any) *TransactionLastAddressActionCall
- func (mr *MockTransactionMockRecorder) LastBlock(ctx any) *TransactionLastBlockCall
- func (mr *MockTransactionMockRecorder) LastNamespaceMessage(ctx, nsId any) *TransactionLastNamespaceMessageCall
- func (mr *MockTransactionMockRecorder) Namespace(ctx, id any) *TransactionNamespaceCall
- func (mr *MockTransactionMockRecorder) Rollback(ctx any) *TransactionRollbackCall
- func (mr *MockTransactionMockRecorder) RollbackAddresses(ctx, height any) *TransactionRollbackAddressesCall
- func (mr *MockTransactionMockRecorder) RollbackBlock(ctx, height any) *TransactionRollbackBlockCall
- func (mr *MockTransactionMockRecorder) RollbackBlockStats(ctx, height any) *TransactionRollbackBlockStatsCall
- func (mr *MockTransactionMockRecorder) RollbackEvents(ctx, height any) *TransactionRollbackEventsCall
- func (mr *MockTransactionMockRecorder) RollbackMessageAddresses(ctx, msgIds any) *TransactionRollbackMessageAddressesCall
- func (mr *MockTransactionMockRecorder) RollbackMessages(ctx, height any) *TransactionRollbackMessagesCall
- func (mr *MockTransactionMockRecorder) RollbackNamespaceMessages(ctx, height any) *TransactionRollbackNamespaceMessagesCall
- func (mr *MockTransactionMockRecorder) RollbackNamespaces(ctx, height any) *TransactionRollbackNamespacesCall
- func (mr *MockTransactionMockRecorder) RollbackSigners(ctx, txIds any) *TransactionRollbackSignersCall
- func (mr *MockTransactionMockRecorder) RollbackTxs(ctx, height any) *TransactionRollbackTxsCall
- func (mr *MockTransactionMockRecorder) RollbackValidators(ctx, height any) *TransactionRollbackValidatorsCall
- func (mr *MockTransactionMockRecorder) SaveAddresses(ctx any, addresses ...any) *TransactionSaveAddressesCall
- func (mr *MockTransactionMockRecorder) SaveBalances(ctx any, balances ...any) *TransactionSaveBalancesCall
- func (mr *MockTransactionMockRecorder) SaveConstants(ctx any, constants ...any) *TransactionSaveConstantsCall
- func (mr *MockTransactionMockRecorder) SaveEvents(ctx any, events ...any) *TransactionSaveEventsCall
- func (mr *MockTransactionMockRecorder) SaveMessages(ctx any, msgs ...any) *TransactionSaveMessagesCall
- func (mr *MockTransactionMockRecorder) SaveMsgAddresses(ctx any, addresses ...any) *TransactionSaveMsgAddressesCall
- func (mr *MockTransactionMockRecorder) SaveNamespaceMessage(ctx any, nsMsgs ...any) *TransactionSaveNamespaceMessageCall
- func (mr *MockTransactionMockRecorder) SaveNamespaces(ctx any, namespaces ...any) *TransactionSaveNamespacesCall
- func (mr *MockTransactionMockRecorder) SaveSigners(ctx any, addresses ...any) *TransactionSaveSignersCall
- func (mr *MockTransactionMockRecorder) SaveTransactions(ctx any, txs ...any) *TransactionSaveTransactionsCall
- func (mr *MockTransactionMockRecorder) SaveValidators(ctx any, validators ...any) *TransactionSaveValidatorsCall
- func (mr *MockTransactionMockRecorder) State(ctx, name any) *TransactionStateCall
- func (mr *MockTransactionMockRecorder) Tx() *TransactionTxCall
- func (mr *MockTransactionMockRecorder) Update(ctx, model any) *TransactionUpdateCall
- type NotificatorNotifyCall
- type Storage
- type TransactionAddCall
- type TransactionBulkSaveCall
- type TransactionCloseCall
- type TransactionCopyFromCall
- func (c *TransactionCopyFromCall) Do(f func(context.Context, string, []storage0.Copiable) error) *TransactionCopyFromCall
- func (c *TransactionCopyFromCall) DoAndReturn(f func(context.Context, string, []storage0.Copiable) error) *TransactionCopyFromCall
- func (c *TransactionCopyFromCall) Return(arg0 error) *TransactionCopyFromCall
- type TransactionDeleteBalancesCall
- func (c *TransactionDeleteBalancesCall) Do(f func(context.Context, []uint64) error) *TransactionDeleteBalancesCall
- func (c *TransactionDeleteBalancesCall) DoAndReturn(f func(context.Context, []uint64) error) *TransactionDeleteBalancesCall
- func (c *TransactionDeleteBalancesCall) Return(arg0 error) *TransactionDeleteBalancesCall
- type TransactionExecCall
- func (c *TransactionExecCall) Do(f func(context.Context, string, ...any) (int64, error)) *TransactionExecCall
- func (c *TransactionExecCall) DoAndReturn(f func(context.Context, string, ...any) (int64, error)) *TransactionExecCall
- func (c *TransactionExecCall) Return(arg0 int64, arg1 error) *TransactionExecCall
- type TransactionFlushCall
- type TransactionGetProposerIdCall
- func (c *TransactionGetProposerIdCall) Do(f func(context.Context, string) (uint64, error)) *TransactionGetProposerIdCall
- func (c *TransactionGetProposerIdCall) DoAndReturn(f func(context.Context, string) (uint64, error)) *TransactionGetProposerIdCall
- func (c *TransactionGetProposerIdCall) Return(arg0 uint64, arg1 error) *TransactionGetProposerIdCall
- type TransactionHandleErrorCall
- func (c *TransactionHandleErrorCall) Do(f func(context.Context, error) error) *TransactionHandleErrorCall
- func (c *TransactionHandleErrorCall) DoAndReturn(f func(context.Context, error) error) *TransactionHandleErrorCall
- func (c *TransactionHandleErrorCall) Return(arg0 error) *TransactionHandleErrorCall
- type TransactionLastAddressActionCall
- func (c *TransactionLastAddressActionCall) Do(f func(context.Context, []byte) (uint64, error)) *TransactionLastAddressActionCall
- func (c *TransactionLastAddressActionCall) DoAndReturn(f func(context.Context, []byte) (uint64, error)) *TransactionLastAddressActionCall
- func (c *TransactionLastAddressActionCall) Return(arg0 uint64, arg1 error) *TransactionLastAddressActionCall
- type TransactionLastBlockCall
- func (c *TransactionLastBlockCall) Do(f func(context.Context) (storage.Block, error)) *TransactionLastBlockCall
- func (c *TransactionLastBlockCall) DoAndReturn(f func(context.Context) (storage.Block, error)) *TransactionLastBlockCall
- func (c *TransactionLastBlockCall) Return(block storage.Block, err error) *TransactionLastBlockCall
- type TransactionLastNamespaceMessageCall
- func (c *TransactionLastNamespaceMessageCall) Do(f func(context.Context, uint64) (storage.NamespaceMessage, error)) *TransactionLastNamespaceMessageCall
- func (c *TransactionLastNamespaceMessageCall) DoAndReturn(f func(context.Context, uint64) (storage.NamespaceMessage, error)) *TransactionLastNamespaceMessageCall
- func (c *TransactionLastNamespaceMessageCall) Return(msg storage.NamespaceMessage, err error) *TransactionLastNamespaceMessageCall
- type TransactionNamespaceCall
- func (c *TransactionNamespaceCall) Do(f func(context.Context, uint64) (storage.Namespace, error)) *TransactionNamespaceCall
- func (c *TransactionNamespaceCall) DoAndReturn(f func(context.Context, uint64) (storage.Namespace, error)) *TransactionNamespaceCall
- func (c *TransactionNamespaceCall) Return(ns storage.Namespace, err error) *TransactionNamespaceCall
- type TransactionRollbackAddressesCall
- func (c *TransactionRollbackAddressesCall) Do(f func(context.Context, types.Level) ([]storage.Address, error)) *TransactionRollbackAddressesCall
- func (c *TransactionRollbackAddressesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Address, error)) *TransactionRollbackAddressesCall
- func (c *TransactionRollbackAddressesCall) Return(address []storage.Address, err error) *TransactionRollbackAddressesCall
- type TransactionRollbackBlockCall
- func (c *TransactionRollbackBlockCall) Do(f func(context.Context, types.Level) error) *TransactionRollbackBlockCall
- func (c *TransactionRollbackBlockCall) DoAndReturn(f func(context.Context, types.Level) error) *TransactionRollbackBlockCall
- func (c *TransactionRollbackBlockCall) Return(arg0 error) *TransactionRollbackBlockCall
- type TransactionRollbackBlockStatsCall
- func (c *TransactionRollbackBlockStatsCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *TransactionRollbackBlockStatsCall
- func (c *TransactionRollbackBlockStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *TransactionRollbackBlockStatsCall
- func (c *TransactionRollbackBlockStatsCall) Return(stats storage.BlockStats, err error) *TransactionRollbackBlockStatsCall
- type TransactionRollbackCall
- type TransactionRollbackEventsCall
- func (c *TransactionRollbackEventsCall) Do(f func(context.Context, types.Level) ([]storage.Event, error)) *TransactionRollbackEventsCall
- func (c *TransactionRollbackEventsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Event, error)) *TransactionRollbackEventsCall
- func (c *TransactionRollbackEventsCall) Return(events []storage.Event, err error) *TransactionRollbackEventsCall
- type TransactionRollbackMessageAddressesCall
- func (c *TransactionRollbackMessageAddressesCall) Do(f func(context.Context, []uint64) error) *TransactionRollbackMessageAddressesCall
- func (c *TransactionRollbackMessageAddressesCall) DoAndReturn(f func(context.Context, []uint64) error) *TransactionRollbackMessageAddressesCall
- func (c *TransactionRollbackMessageAddressesCall) Return(err error) *TransactionRollbackMessageAddressesCall
- type TransactionRollbackMessagesCall
- func (c *TransactionRollbackMessagesCall) Do(f func(context.Context, types.Level) ([]storage.Message, error)) *TransactionRollbackMessagesCall
- func (c *TransactionRollbackMessagesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Message, error)) *TransactionRollbackMessagesCall
- func (c *TransactionRollbackMessagesCall) Return(msgs []storage.Message, err error) *TransactionRollbackMessagesCall
- type TransactionRollbackNamespaceMessagesCall
- func (c *TransactionRollbackNamespaceMessagesCall) Do(f func(context.Context, types.Level) ([]storage.NamespaceMessage, error)) *TransactionRollbackNamespaceMessagesCall
- func (c *TransactionRollbackNamespaceMessagesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.NamespaceMessage, error)) *TransactionRollbackNamespaceMessagesCall
- func (c *TransactionRollbackNamespaceMessagesCall) Return(msgs []storage.NamespaceMessage, err error) *TransactionRollbackNamespaceMessagesCall
- type TransactionRollbackNamespacesCall
- func (c *TransactionRollbackNamespacesCall) Do(f func(context.Context, types.Level) ([]storage.Namespace, error)) *TransactionRollbackNamespacesCall
- func (c *TransactionRollbackNamespacesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Namespace, error)) *TransactionRollbackNamespacesCall
- func (c *TransactionRollbackNamespacesCall) Return(ns []storage.Namespace, err error) *TransactionRollbackNamespacesCall
- type TransactionRollbackSignersCall
- func (c *TransactionRollbackSignersCall) Do(f func(context.Context, []uint64) error) *TransactionRollbackSignersCall
- func (c *TransactionRollbackSignersCall) DoAndReturn(f func(context.Context, []uint64) error) *TransactionRollbackSignersCall
- func (c *TransactionRollbackSignersCall) Return(err error) *TransactionRollbackSignersCall
- type TransactionRollbackTxsCall
- func (c *TransactionRollbackTxsCall) Do(f func(context.Context, types.Level) ([]storage.Tx, error)) *TransactionRollbackTxsCall
- func (c *TransactionRollbackTxsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Tx, error)) *TransactionRollbackTxsCall
- func (c *TransactionRollbackTxsCall) Return(txs []storage.Tx, err error) *TransactionRollbackTxsCall
- type TransactionRollbackValidatorsCall
- func (c *TransactionRollbackValidatorsCall) Do(f func(context.Context, types.Level) error) *TransactionRollbackValidatorsCall
- func (c *TransactionRollbackValidatorsCall) DoAndReturn(f func(context.Context, types.Level) error) *TransactionRollbackValidatorsCall
- func (c *TransactionRollbackValidatorsCall) Return(err error) *TransactionRollbackValidatorsCall
- type TransactionSaveAddressesCall
- func (c *TransactionSaveAddressesCall) Do(f func(context.Context, ...*storage.Address) (int64, error)) *TransactionSaveAddressesCall
- func (c *TransactionSaveAddressesCall) DoAndReturn(f func(context.Context, ...*storage.Address) (int64, error)) *TransactionSaveAddressesCall
- func (c *TransactionSaveAddressesCall) Return(arg0 int64, arg1 error) *TransactionSaveAddressesCall
- type TransactionSaveBalancesCall
- func (c *TransactionSaveBalancesCall) Do(f func(context.Context, ...storage.Balance) error) *TransactionSaveBalancesCall
- func (c *TransactionSaveBalancesCall) DoAndReturn(f func(context.Context, ...storage.Balance) error) *TransactionSaveBalancesCall
- func (c *TransactionSaveBalancesCall) Return(arg0 error) *TransactionSaveBalancesCall
- type TransactionSaveConstantsCall
- func (c *TransactionSaveConstantsCall) Do(f func(context.Context, ...storage.Constant) error) *TransactionSaveConstantsCall
- func (c *TransactionSaveConstantsCall) DoAndReturn(f func(context.Context, ...storage.Constant) error) *TransactionSaveConstantsCall
- func (c *TransactionSaveConstantsCall) Return(arg0 error) *TransactionSaveConstantsCall
- type TransactionSaveEventsCall
- func (c *TransactionSaveEventsCall) Do(f func(context.Context, ...storage.Event) error) *TransactionSaveEventsCall
- func (c *TransactionSaveEventsCall) DoAndReturn(f func(context.Context, ...storage.Event) error) *TransactionSaveEventsCall
- func (c *TransactionSaveEventsCall) Return(arg0 error) *TransactionSaveEventsCall
- type TransactionSaveMessagesCall
- func (c *TransactionSaveMessagesCall) Do(f func(context.Context, ...*storage.Message) error) *TransactionSaveMessagesCall
- func (c *TransactionSaveMessagesCall) DoAndReturn(f func(context.Context, ...*storage.Message) error) *TransactionSaveMessagesCall
- func (c *TransactionSaveMessagesCall) Return(arg0 error) *TransactionSaveMessagesCall
- type TransactionSaveMsgAddressesCall
- func (c *TransactionSaveMsgAddressesCall) Do(f func(context.Context, ...storage.MsgAddress) error) *TransactionSaveMsgAddressesCall
- func (c *TransactionSaveMsgAddressesCall) DoAndReturn(f func(context.Context, ...storage.MsgAddress) error) *TransactionSaveMsgAddressesCall
- func (c *TransactionSaveMsgAddressesCall) Return(arg0 error) *TransactionSaveMsgAddressesCall
- type TransactionSaveNamespaceMessageCall
- func (c *TransactionSaveNamespaceMessageCall) Do(f func(context.Context, ...storage.NamespaceMessage) error) *TransactionSaveNamespaceMessageCall
- func (c *TransactionSaveNamespaceMessageCall) DoAndReturn(f func(context.Context, ...storage.NamespaceMessage) error) *TransactionSaveNamespaceMessageCall
- func (c *TransactionSaveNamespaceMessageCall) Return(arg0 error) *TransactionSaveNamespaceMessageCall
- type TransactionSaveNamespacesCall
- func (c *TransactionSaveNamespacesCall) Do(f func(context.Context, ...*storage.Namespace) (int64, error)) *TransactionSaveNamespacesCall
- func (c *TransactionSaveNamespacesCall) DoAndReturn(f func(context.Context, ...*storage.Namespace) (int64, error)) *TransactionSaveNamespacesCall
- func (c *TransactionSaveNamespacesCall) Return(arg0 int64, arg1 error) *TransactionSaveNamespacesCall
- type TransactionSaveSignersCall
- func (c *TransactionSaveSignersCall) Do(f func(context.Context, ...storage.Signer) error) *TransactionSaveSignersCall
- func (c *TransactionSaveSignersCall) DoAndReturn(f func(context.Context, ...storage.Signer) error) *TransactionSaveSignersCall
- func (c *TransactionSaveSignersCall) Return(arg0 error) *TransactionSaveSignersCall
- type TransactionSaveTransactionsCall
- func (c *TransactionSaveTransactionsCall) Do(f func(context.Context, ...storage.Tx) error) *TransactionSaveTransactionsCall
- func (c *TransactionSaveTransactionsCall) DoAndReturn(f func(context.Context, ...storage.Tx) error) *TransactionSaveTransactionsCall
- func (c *TransactionSaveTransactionsCall) Return(arg0 error) *TransactionSaveTransactionsCall
- type TransactionSaveValidatorsCall
- func (c *TransactionSaveValidatorsCall) Do(f func(context.Context, ...*storage.Validator) error) *TransactionSaveValidatorsCall
- func (c *TransactionSaveValidatorsCall) DoAndReturn(f func(context.Context, ...*storage.Validator) error) *TransactionSaveValidatorsCall
- func (c *TransactionSaveValidatorsCall) Return(arg0 error) *TransactionSaveValidatorsCall
- type TransactionStateCall
- func (c *TransactionStateCall) Do(f func(context.Context, string) (storage.State, error)) *TransactionStateCall
- func (c *TransactionStateCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *TransactionStateCall
- func (c *TransactionStateCall) Return(state storage.State, err error) *TransactionStateCall
- type TransactionTxCall
- type TransactionUpdateCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAddressByHashCall ¶
IAddressByHashCall wrap *gomock.Call
func (*IAddressByHashCall) Do ¶
func (c *IAddressByHashCall) Do(f func(context.Context, []byte) (storage.Address, error)) *IAddressByHashCall
Do rewrite *gomock.Call.Do
func (*IAddressByHashCall) DoAndReturn ¶
func (c *IAddressByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Address, error)) *IAddressByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressByHashCall) Return ¶
func (c *IAddressByHashCall) Return(arg0 storage.Address, arg1 error) *IAddressByHashCall
Return rewrite *gomock.Call.Return
type IAddressCursorListCall ¶
IAddressCursorListCall wrap *gomock.Call
func (*IAddressCursorListCall) Do ¶
func (c *IAddressCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Address, error)) *IAddressCursorListCall
Do rewrite *gomock.Call.Do
func (*IAddressCursorListCall) DoAndReturn ¶
func (c *IAddressCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Address, error)) *IAddressCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressCursorListCall) Return ¶
func (c *IAddressCursorListCall) Return(arg0 []*storage.Address, arg1 error) *IAddressCursorListCall
Return rewrite *gomock.Call.Return
type IAddressGetByIDCall ¶
IAddressGetByIDCall wrap *gomock.Call
func (*IAddressGetByIDCall) Do ¶
func (c *IAddressGetByIDCall) Do(f func(context.Context, uint64) (*storage.Address, error)) *IAddressGetByIDCall
Do rewrite *gomock.Call.Do
func (*IAddressGetByIDCall) DoAndReturn ¶
func (c *IAddressGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Address, error)) *IAddressGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressGetByIDCall) Return ¶
func (c *IAddressGetByIDCall) Return(arg0 *storage.Address, arg1 error) *IAddressGetByIDCall
Return rewrite *gomock.Call.Return
type IAddressIsNoRowsCall ¶
IAddressIsNoRowsCall wrap *gomock.Call
func (*IAddressIsNoRowsCall) Do ¶
func (c *IAddressIsNoRowsCall) Do(f func(error) bool) *IAddressIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*IAddressIsNoRowsCall) DoAndReturn ¶
func (c *IAddressIsNoRowsCall) DoAndReturn(f func(error) bool) *IAddressIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressIsNoRowsCall) Return ¶
func (c *IAddressIsNoRowsCall) Return(arg0 bool) *IAddressIsNoRowsCall
Return rewrite *gomock.Call.Return
type IAddressLastIDCall ¶
IAddressLastIDCall wrap *gomock.Call
func (*IAddressLastIDCall) Do ¶
func (c *IAddressLastIDCall) Do(f func(context.Context) (uint64, error)) *IAddressLastIDCall
Do rewrite *gomock.Call.Do
func (*IAddressLastIDCall) DoAndReturn ¶
func (c *IAddressLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *IAddressLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressLastIDCall) Return ¶
func (c *IAddressLastIDCall) Return(arg0 uint64, arg1 error) *IAddressLastIDCall
Return rewrite *gomock.Call.Return
type IAddressListCall ¶
IAddressListCall wrap *gomock.Call
func (*IAddressListCall) Do ¶
func (c *IAddressListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Address, error)) *IAddressListCall
Do rewrite *gomock.Call.Do
func (*IAddressListCall) DoAndReturn ¶
func (c *IAddressListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Address, error)) *IAddressListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressListCall) Return ¶
func (c *IAddressListCall) Return(arg0 []*storage.Address, arg1 error) *IAddressListCall
Return rewrite *gomock.Call.Return
type IAddressListWithBalanceCall ¶
IAddressListWithBalanceCall wrap *gomock.Call
func (*IAddressListWithBalanceCall) Do ¶
func (c *IAddressListWithBalanceCall) Do(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *IAddressListWithBalanceCall
Do rewrite *gomock.Call.Do
func (*IAddressListWithBalanceCall) DoAndReturn ¶
func (c *IAddressListWithBalanceCall) DoAndReturn(f func(context.Context, storage.AddressListFilter) ([]storage.Address, error)) *IAddressListWithBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressListWithBalanceCall) Return ¶
func (c *IAddressListWithBalanceCall) Return(arg0 []storage.Address, arg1 error) *IAddressListWithBalanceCall
Return rewrite *gomock.Call.Return
type IAddressMessagesCall ¶
IAddressMessagesCall wrap *gomock.Call
func (*IAddressMessagesCall) Do ¶
func (c *IAddressMessagesCall) Do(f func(context.Context, uint64, storage.AddressMsgsFilter) ([]storage.MsgAddress, error)) *IAddressMessagesCall
Do rewrite *gomock.Call.Do
func (*IAddressMessagesCall) DoAndReturn ¶
func (c *IAddressMessagesCall) DoAndReturn(f func(context.Context, uint64, storage.AddressMsgsFilter) ([]storage.MsgAddress, error)) *IAddressMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressMessagesCall) Return ¶
func (c *IAddressMessagesCall) Return(arg0 []storage.MsgAddress, arg1 error) *IAddressMessagesCall
Return rewrite *gomock.Call.Return
type IAddressSaveCall ¶
IAddressSaveCall wrap *gomock.Call
func (*IAddressSaveCall) Do ¶
func (c *IAddressSaveCall) Do(f func(context.Context, *storage.Address) error) *IAddressSaveCall
Do rewrite *gomock.Call.Do
func (*IAddressSaveCall) DoAndReturn ¶
func (c *IAddressSaveCall) DoAndReturn(f func(context.Context, *storage.Address) error) *IAddressSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressSaveCall) Return ¶
func (c *IAddressSaveCall) Return(arg0 error) *IAddressSaveCall
Return rewrite *gomock.Call.Return
type IAddressUpdateCall ¶
IAddressUpdateCall wrap *gomock.Call
func (*IAddressUpdateCall) Do ¶
func (c *IAddressUpdateCall) Do(f func(context.Context, *storage.Address) error) *IAddressUpdateCall
Do rewrite *gomock.Call.Do
func (*IAddressUpdateCall) DoAndReturn ¶
func (c *IAddressUpdateCall) DoAndReturn(f func(context.Context, *storage.Address) error) *IAddressUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAddressUpdateCall) Return ¶
func (c *IAddressUpdateCall) Return(arg0 error) *IAddressUpdateCall
Return rewrite *gomock.Call.Return
type IBalanceCursorListCall ¶
IBalanceCursorListCall wrap *gomock.Call
func (*IBalanceCursorListCall) Do ¶
func (c *IBalanceCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Balance, error)) *IBalanceCursorListCall
Do rewrite *gomock.Call.Do
func (*IBalanceCursorListCall) DoAndReturn ¶
func (c *IBalanceCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Balance, error)) *IBalanceCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBalanceCursorListCall) Return ¶
func (c *IBalanceCursorListCall) Return(arg0 []*storage.Balance, arg1 error) *IBalanceCursorListCall
Return rewrite *gomock.Call.Return
type IBalanceGetByIDCall ¶
IBalanceGetByIDCall wrap *gomock.Call
func (*IBalanceGetByIDCall) Do ¶
func (c *IBalanceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Balance, error)) *IBalanceGetByIDCall
Do rewrite *gomock.Call.Do
func (*IBalanceGetByIDCall) DoAndReturn ¶
func (c *IBalanceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Balance, error)) *IBalanceGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBalanceGetByIDCall) Return ¶
func (c *IBalanceGetByIDCall) Return(arg0 *storage.Balance, arg1 error) *IBalanceGetByIDCall
Return rewrite *gomock.Call.Return
type IBalanceIsNoRowsCall ¶
IBalanceIsNoRowsCall wrap *gomock.Call
func (*IBalanceIsNoRowsCall) Do ¶
func (c *IBalanceIsNoRowsCall) Do(f func(error) bool) *IBalanceIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*IBalanceIsNoRowsCall) DoAndReturn ¶
func (c *IBalanceIsNoRowsCall) DoAndReturn(f func(error) bool) *IBalanceIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBalanceIsNoRowsCall) Return ¶
func (c *IBalanceIsNoRowsCall) Return(arg0 bool) *IBalanceIsNoRowsCall
Return rewrite *gomock.Call.Return
type IBalanceLastIDCall ¶
IBalanceLastIDCall wrap *gomock.Call
func (*IBalanceLastIDCall) Do ¶
func (c *IBalanceLastIDCall) Do(f func(context.Context) (uint64, error)) *IBalanceLastIDCall
Do rewrite *gomock.Call.Do
func (*IBalanceLastIDCall) DoAndReturn ¶
func (c *IBalanceLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *IBalanceLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBalanceLastIDCall) Return ¶
func (c *IBalanceLastIDCall) Return(arg0 uint64, arg1 error) *IBalanceLastIDCall
Return rewrite *gomock.Call.Return
type IBalanceListCall ¶
IBalanceListCall wrap *gomock.Call
func (*IBalanceListCall) Do ¶
func (c *IBalanceListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Balance, error)) *IBalanceListCall
Do rewrite *gomock.Call.Do
func (*IBalanceListCall) DoAndReturn ¶
func (c *IBalanceListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Balance, error)) *IBalanceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBalanceListCall) Return ¶
func (c *IBalanceListCall) Return(arg0 []*storage.Balance, arg1 error) *IBalanceListCall
Return rewrite *gomock.Call.Return
type IBalanceSaveCall ¶
IBalanceSaveCall wrap *gomock.Call
func (*IBalanceSaveCall) Do ¶
func (c *IBalanceSaveCall) Do(f func(context.Context, *storage.Balance) error) *IBalanceSaveCall
Do rewrite *gomock.Call.Do
func (*IBalanceSaveCall) DoAndReturn ¶
func (c *IBalanceSaveCall) DoAndReturn(f func(context.Context, *storage.Balance) error) *IBalanceSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBalanceSaveCall) Return ¶
func (c *IBalanceSaveCall) Return(arg0 error) *IBalanceSaveCall
Return rewrite *gomock.Call.Return
type IBalanceUpdateCall ¶
IBalanceUpdateCall wrap *gomock.Call
func (*IBalanceUpdateCall) Do ¶
func (c *IBalanceUpdateCall) Do(f func(context.Context, *storage.Balance) error) *IBalanceUpdateCall
Do rewrite *gomock.Call.Do
func (*IBalanceUpdateCall) DoAndReturn ¶
func (c *IBalanceUpdateCall) DoAndReturn(f func(context.Context, *storage.Balance) error) *IBalanceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBalanceUpdateCall) Return ¶
func (c *IBalanceUpdateCall) Return(arg0 error) *IBalanceUpdateCall
Return rewrite *gomock.Call.Return
type IBlockByHashCall ¶
IBlockByHashCall wrap *gomock.Call
func (*IBlockByHashCall) Do ¶
func (c *IBlockByHashCall) Do(f func(context.Context, []byte) (storage.Block, error)) *IBlockByHashCall
Do rewrite *gomock.Call.Do
func (*IBlockByHashCall) DoAndReturn ¶
func (c *IBlockByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Block, error)) *IBlockByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockByHashCall) Return ¶
func (c *IBlockByHashCall) Return(arg0 storage.Block, arg1 error) *IBlockByHashCall
Return rewrite *gomock.Call.Return
type IBlockByHeightCall ¶
IBlockByHeightCall wrap *gomock.Call
func (*IBlockByHeightCall) Do ¶
func (c *IBlockByHeightCall) Do(f func(context.Context, types.Level) (storage.Block, error)) *IBlockByHeightCall
Do rewrite *gomock.Call.Do
func (*IBlockByHeightCall) DoAndReturn ¶
func (c *IBlockByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.Block, error)) *IBlockByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockByHeightCall) Return ¶
func (c *IBlockByHeightCall) Return(arg0 storage.Block, arg1 error) *IBlockByHeightCall
Return rewrite *gomock.Call.Return
type IBlockByHeightWithStatsCall ¶
IBlockByHeightWithStatsCall wrap *gomock.Call
func (*IBlockByHeightWithStatsCall) Do ¶
func (c *IBlockByHeightWithStatsCall) Do(f func(context.Context, types.Level) (storage.Block, error)) *IBlockByHeightWithStatsCall
Do rewrite *gomock.Call.Do
func (*IBlockByHeightWithStatsCall) DoAndReturn ¶
func (c *IBlockByHeightWithStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.Block, error)) *IBlockByHeightWithStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockByHeightWithStatsCall) Return ¶
func (c *IBlockByHeightWithStatsCall) Return(arg0 storage.Block, arg1 error) *IBlockByHeightWithStatsCall
Return rewrite *gomock.Call.Return
type IBlockByIdWithRelationsCall ¶
IBlockByIdWithRelationsCall wrap *gomock.Call
func (*IBlockByIdWithRelationsCall) Do ¶
func (c *IBlockByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Block, error)) *IBlockByIdWithRelationsCall
Do rewrite *gomock.Call.Do
func (*IBlockByIdWithRelationsCall) DoAndReturn ¶
func (c *IBlockByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Block, error)) *IBlockByIdWithRelationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockByIdWithRelationsCall) Return ¶
func (c *IBlockByIdWithRelationsCall) Return(arg0 storage.Block, arg1 error) *IBlockByIdWithRelationsCall
Return rewrite *gomock.Call.Return
type IBlockCursorListCall ¶
IBlockCursorListCall wrap *gomock.Call
func (*IBlockCursorListCall) Do ¶
func (c *IBlockCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Block, error)) *IBlockCursorListCall
Do rewrite *gomock.Call.Do
func (*IBlockCursorListCall) DoAndReturn ¶
func (c *IBlockCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Block, error)) *IBlockCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockCursorListCall) Return ¶
func (c *IBlockCursorListCall) Return(arg0 []*storage.Block, arg1 error) *IBlockCursorListCall
Return rewrite *gomock.Call.Return
type IBlockGetByIDCall ¶
IBlockGetByIDCall wrap *gomock.Call
func (*IBlockGetByIDCall) Do ¶
func (c *IBlockGetByIDCall) Do(f func(context.Context, uint64) (*storage.Block, error)) *IBlockGetByIDCall
Do rewrite *gomock.Call.Do
func (*IBlockGetByIDCall) DoAndReturn ¶
func (c *IBlockGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Block, error)) *IBlockGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockGetByIDCall) Return ¶
func (c *IBlockGetByIDCall) Return(arg0 *storage.Block, arg1 error) *IBlockGetByIDCall
Return rewrite *gomock.Call.Return
type IBlockIsNoRowsCall ¶
IBlockIsNoRowsCall wrap *gomock.Call
func (*IBlockIsNoRowsCall) Do ¶
func (c *IBlockIsNoRowsCall) Do(f func(error) bool) *IBlockIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*IBlockIsNoRowsCall) DoAndReturn ¶
func (c *IBlockIsNoRowsCall) DoAndReturn(f func(error) bool) *IBlockIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockIsNoRowsCall) Return ¶
func (c *IBlockIsNoRowsCall) Return(arg0 bool) *IBlockIsNoRowsCall
Return rewrite *gomock.Call.Return
type IBlockLastCall ¶
IBlockLastCall wrap *gomock.Call
func (*IBlockLastCall) Do ¶
func (c *IBlockLastCall) Do(f func(context.Context) (storage.Block, error)) *IBlockLastCall
Do rewrite *gomock.Call.Do
func (*IBlockLastCall) DoAndReturn ¶
func (c *IBlockLastCall) DoAndReturn(f func(context.Context) (storage.Block, error)) *IBlockLastCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockLastCall) Return ¶
func (c *IBlockLastCall) Return(arg0 storage.Block, arg1 error) *IBlockLastCall
Return rewrite *gomock.Call.Return
type IBlockLastIDCall ¶
IBlockLastIDCall wrap *gomock.Call
func (*IBlockLastIDCall) Do ¶
func (c *IBlockLastIDCall) Do(f func(context.Context) (uint64, error)) *IBlockLastIDCall
Do rewrite *gomock.Call.Do
func (*IBlockLastIDCall) DoAndReturn ¶
func (c *IBlockLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *IBlockLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockLastIDCall) Return ¶
func (c *IBlockLastIDCall) Return(arg0 uint64, arg1 error) *IBlockLastIDCall
Return rewrite *gomock.Call.Return
type IBlockListCall ¶
IBlockListCall wrap *gomock.Call
func (*IBlockListCall) Do ¶
func (c *IBlockListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *IBlockListCall
Do rewrite *gomock.Call.Do
func (*IBlockListCall) DoAndReturn ¶
func (c *IBlockListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *IBlockListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockListCall) Return ¶
func (c *IBlockListCall) Return(arg0 []*storage.Block, arg1 error) *IBlockListCall
Return rewrite *gomock.Call.Return
type IBlockListWithStatsCall ¶
IBlockListWithStatsCall wrap *gomock.Call
func (*IBlockListWithStatsCall) Do ¶
func (c *IBlockListWithStatsCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *IBlockListWithStatsCall
Do rewrite *gomock.Call.Do
func (*IBlockListWithStatsCall) DoAndReturn ¶
func (c *IBlockListWithStatsCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Block, error)) *IBlockListWithStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockListWithStatsCall) Return ¶
func (c *IBlockListWithStatsCall) Return(arg0 []*storage.Block, arg1 error) *IBlockListWithStatsCall
Return rewrite *gomock.Call.Return
type IBlockSaveCall ¶
IBlockSaveCall wrap *gomock.Call
func (*IBlockSaveCall) Do ¶
func (c *IBlockSaveCall) Do(f func(context.Context, *storage.Block) error) *IBlockSaveCall
Do rewrite *gomock.Call.Do
func (*IBlockSaveCall) DoAndReturn ¶
func (c *IBlockSaveCall) DoAndReturn(f func(context.Context, *storage.Block) error) *IBlockSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockSaveCall) Return ¶
func (c *IBlockSaveCall) Return(arg0 error) *IBlockSaveCall
Return rewrite *gomock.Call.Return
type IBlockStatsByHeightCall ¶
IBlockStatsByHeightCall wrap *gomock.Call
func (*IBlockStatsByHeightCall) Do ¶
func (c *IBlockStatsByHeightCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *IBlockStatsByHeightCall
Do rewrite *gomock.Call.Do
func (*IBlockStatsByHeightCall) DoAndReturn ¶
func (c *IBlockStatsByHeightCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *IBlockStatsByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockStatsByHeightCall) Return ¶
func (c *IBlockStatsByHeightCall) Return(arg0 storage.BlockStats, arg1 error) *IBlockStatsByHeightCall
Return rewrite *gomock.Call.Return
type IBlockStatsLastFromCall ¶ added in v1.1.0
IBlockStatsLastFromCall wrap *gomock.Call
func (*IBlockStatsLastFromCall) Do ¶ added in v1.1.0
func (c *IBlockStatsLastFromCall) Do(f func(context.Context, types.Level, int) ([]storage.BlockStats, error)) *IBlockStatsLastFromCall
Do rewrite *gomock.Call.Do
func (*IBlockStatsLastFromCall) DoAndReturn ¶ added in v1.1.0
func (c *IBlockStatsLastFromCall) DoAndReturn(f func(context.Context, types.Level, int) ([]storage.BlockStats, error)) *IBlockStatsLastFromCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockStatsLastFromCall) Return ¶ added in v1.1.0
func (c *IBlockStatsLastFromCall) Return(arg0 []storage.BlockStats, arg1 error) *IBlockStatsLastFromCall
Return rewrite *gomock.Call.Return
type IBlockUpdateCall ¶
IBlockUpdateCall wrap *gomock.Call
func (*IBlockUpdateCall) Do ¶
func (c *IBlockUpdateCall) Do(f func(context.Context, *storage.Block) error) *IBlockUpdateCall
Do rewrite *gomock.Call.Do
func (*IBlockUpdateCall) DoAndReturn ¶
func (c *IBlockUpdateCall) DoAndReturn(f func(context.Context, *storage.Block) error) *IBlockUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IBlockUpdateCall) Return ¶
func (c *IBlockUpdateCall) Return(arg0 error) *IBlockUpdateCall
Return rewrite *gomock.Call.Return
type IConstantAllCall ¶
IConstantAllCall wrap *gomock.Call
func (*IConstantAllCall) Do ¶
func (c *IConstantAllCall) Do(f func(context.Context) ([]storage.Constant, error)) *IConstantAllCall
Do rewrite *gomock.Call.Do
func (*IConstantAllCall) DoAndReturn ¶
func (c *IConstantAllCall) DoAndReturn(f func(context.Context) ([]storage.Constant, error)) *IConstantAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IConstantAllCall) Return ¶
func (c *IConstantAllCall) Return(arg0 []storage.Constant, arg1 error) *IConstantAllCall
Return rewrite *gomock.Call.Return
type IConstantByModuleCall ¶
IConstantByModuleCall wrap *gomock.Call
func (*IConstantByModuleCall) Do ¶
func (c *IConstantByModuleCall) Do(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *IConstantByModuleCall
Do rewrite *gomock.Call.Do
func (*IConstantByModuleCall) DoAndReturn ¶
func (c *IConstantByModuleCall) DoAndReturn(f func(context.Context, types.ModuleName) ([]storage.Constant, error)) *IConstantByModuleCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IConstantByModuleCall) Return ¶
func (c *IConstantByModuleCall) Return(arg0 []storage.Constant, arg1 error) *IConstantByModuleCall
Return rewrite *gomock.Call.Return
type IConstantGetCall ¶
IConstantGetCall wrap *gomock.Call
func (*IConstantGetCall) Do ¶
func (c *IConstantGetCall) Do(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *IConstantGetCall
Do rewrite *gomock.Call.Do
func (*IConstantGetCall) DoAndReturn ¶
func (c *IConstantGetCall) DoAndReturn(f func(context.Context, types.ModuleName, string) (storage.Constant, error)) *IConstantGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IConstantGetCall) Return ¶
func (c *IConstantGetCall) Return(arg0 storage.Constant, arg1 error) *IConstantGetCall
Return rewrite *gomock.Call.Return
type IDenomMetadataAllCall ¶
IDenomMetadataAllCall wrap *gomock.Call
func (*IDenomMetadataAllCall) Do ¶
func (c *IDenomMetadataAllCall) Do(f func(context.Context) ([]storage.DenomMetadata, error)) *IDenomMetadataAllCall
Do rewrite *gomock.Call.Do
func (*IDenomMetadataAllCall) DoAndReturn ¶
func (c *IDenomMetadataAllCall) DoAndReturn(f func(context.Context) ([]storage.DenomMetadata, error)) *IDenomMetadataAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IDenomMetadataAllCall) Return ¶
func (c *IDenomMetadataAllCall) Return(arg0 []storage.DenomMetadata, arg1 error) *IDenomMetadataAllCall
Return rewrite *gomock.Call.Return
type IEventByBlockCall ¶
IEventByBlockCall wrap *gomock.Call
func (*IEventByBlockCall) Do ¶
func (c *IEventByBlockCall) Do(f func(context.Context, types.Level) ([]storage.Event, error)) *IEventByBlockCall
Do rewrite *gomock.Call.Do
func (*IEventByBlockCall) DoAndReturn ¶
func (c *IEventByBlockCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Event, error)) *IEventByBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventByBlockCall) Return ¶
func (c *IEventByBlockCall) Return(arg0 []storage.Event, arg1 error) *IEventByBlockCall
Return rewrite *gomock.Call.Return
type IEventByTxIdCall ¶
IEventByTxIdCall wrap *gomock.Call
func (*IEventByTxIdCall) Do ¶
func (c *IEventByTxIdCall) Do(f func(context.Context, uint64) ([]storage.Event, error)) *IEventByTxIdCall
Do rewrite *gomock.Call.Do
func (*IEventByTxIdCall) DoAndReturn ¶
func (c *IEventByTxIdCall) DoAndReturn(f func(context.Context, uint64) ([]storage.Event, error)) *IEventByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventByTxIdCall) Return ¶
func (c *IEventByTxIdCall) Return(arg0 []storage.Event, arg1 error) *IEventByTxIdCall
Return rewrite *gomock.Call.Return
type IEventCursorListCall ¶
IEventCursorListCall wrap *gomock.Call
func (*IEventCursorListCall) Do ¶
func (c *IEventCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Event, error)) *IEventCursorListCall
Do rewrite *gomock.Call.Do
func (*IEventCursorListCall) DoAndReturn ¶
func (c *IEventCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Event, error)) *IEventCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventCursorListCall) Return ¶
func (c *IEventCursorListCall) Return(arg0 []*storage.Event, arg1 error) *IEventCursorListCall
Return rewrite *gomock.Call.Return
type IEventGetByIDCall ¶
IEventGetByIDCall wrap *gomock.Call
func (*IEventGetByIDCall) Do ¶
func (c *IEventGetByIDCall) Do(f func(context.Context, uint64) (*storage.Event, error)) *IEventGetByIDCall
Do rewrite *gomock.Call.Do
func (*IEventGetByIDCall) DoAndReturn ¶
func (c *IEventGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Event, error)) *IEventGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventGetByIDCall) Return ¶
func (c *IEventGetByIDCall) Return(arg0 *storage.Event, arg1 error) *IEventGetByIDCall
Return rewrite *gomock.Call.Return
type IEventIsNoRowsCall ¶
IEventIsNoRowsCall wrap *gomock.Call
func (*IEventIsNoRowsCall) Do ¶
func (c *IEventIsNoRowsCall) Do(f func(error) bool) *IEventIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*IEventIsNoRowsCall) DoAndReturn ¶
func (c *IEventIsNoRowsCall) DoAndReturn(f func(error) bool) *IEventIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventIsNoRowsCall) Return ¶
func (c *IEventIsNoRowsCall) Return(arg0 bool) *IEventIsNoRowsCall
Return rewrite *gomock.Call.Return
type IEventLastIDCall ¶
IEventLastIDCall wrap *gomock.Call
func (*IEventLastIDCall) Do ¶
func (c *IEventLastIDCall) Do(f func(context.Context) (uint64, error)) *IEventLastIDCall
Do rewrite *gomock.Call.Do
func (*IEventLastIDCall) DoAndReturn ¶
func (c *IEventLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *IEventLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventLastIDCall) Return ¶
func (c *IEventLastIDCall) Return(arg0 uint64, arg1 error) *IEventLastIDCall
Return rewrite *gomock.Call.Return
type IEventListCall ¶
IEventListCall wrap *gomock.Call
func (*IEventListCall) Do ¶
func (c *IEventListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Event, error)) *IEventListCall
Do rewrite *gomock.Call.Do
func (*IEventListCall) DoAndReturn ¶
func (c *IEventListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Event, error)) *IEventListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventListCall) Return ¶
func (c *IEventListCall) Return(arg0 []*storage.Event, arg1 error) *IEventListCall
Return rewrite *gomock.Call.Return
type IEventSaveCall ¶
IEventSaveCall wrap *gomock.Call
func (*IEventSaveCall) Do ¶
func (c *IEventSaveCall) Do(f func(context.Context, *storage.Event) error) *IEventSaveCall
Do rewrite *gomock.Call.Do
func (*IEventSaveCall) DoAndReturn ¶
func (c *IEventSaveCall) DoAndReturn(f func(context.Context, *storage.Event) error) *IEventSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventSaveCall) Return ¶
func (c *IEventSaveCall) Return(arg0 error) *IEventSaveCall
Return rewrite *gomock.Call.Return
type IEventUpdateCall ¶
IEventUpdateCall wrap *gomock.Call
func (*IEventUpdateCall) Do ¶
func (c *IEventUpdateCall) Do(f func(context.Context, *storage.Event) error) *IEventUpdateCall
Do rewrite *gomock.Call.Do
func (*IEventUpdateCall) DoAndReturn ¶
func (c *IEventUpdateCall) DoAndReturn(f func(context.Context, *storage.Event) error) *IEventUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IEventUpdateCall) Return ¶
func (c *IEventUpdateCall) Return(arg0 error) *IEventUpdateCall
Return rewrite *gomock.Call.Return
type IMessageByTxIdCall ¶
IMessageByTxIdCall wrap *gomock.Call
func (*IMessageByTxIdCall) Do ¶
func (c *IMessageByTxIdCall) Do(f func(context.Context, uint64) ([]storage.Message, error)) *IMessageByTxIdCall
Do rewrite *gomock.Call.Do
func (*IMessageByTxIdCall) DoAndReturn ¶
func (c *IMessageByTxIdCall) DoAndReturn(f func(context.Context, uint64) ([]storage.Message, error)) *IMessageByTxIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageByTxIdCall) Return ¶
func (c *IMessageByTxIdCall) Return(arg0 []storage.Message, arg1 error) *IMessageByTxIdCall
Return rewrite *gomock.Call.Return
type IMessageCursorListCall ¶
IMessageCursorListCall wrap *gomock.Call
func (*IMessageCursorListCall) Do ¶
func (c *IMessageCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Message, error)) *IMessageCursorListCall
Do rewrite *gomock.Call.Do
func (*IMessageCursorListCall) DoAndReturn ¶
func (c *IMessageCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Message, error)) *IMessageCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageCursorListCall) Return ¶
func (c *IMessageCursorListCall) Return(arg0 []*storage.Message, arg1 error) *IMessageCursorListCall
Return rewrite *gomock.Call.Return
type IMessageGetByIDCall ¶
IMessageGetByIDCall wrap *gomock.Call
func (*IMessageGetByIDCall) Do ¶
func (c *IMessageGetByIDCall) Do(f func(context.Context, uint64) (*storage.Message, error)) *IMessageGetByIDCall
Do rewrite *gomock.Call.Do
func (*IMessageGetByIDCall) DoAndReturn ¶
func (c *IMessageGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Message, error)) *IMessageGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageGetByIDCall) Return ¶
func (c *IMessageGetByIDCall) Return(arg0 *storage.Message, arg1 error) *IMessageGetByIDCall
Return rewrite *gomock.Call.Return
type IMessageIsNoRowsCall ¶
IMessageIsNoRowsCall wrap *gomock.Call
func (*IMessageIsNoRowsCall) Do ¶
func (c *IMessageIsNoRowsCall) Do(f func(error) bool) *IMessageIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*IMessageIsNoRowsCall) DoAndReturn ¶
func (c *IMessageIsNoRowsCall) DoAndReturn(f func(error) bool) *IMessageIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageIsNoRowsCall) Return ¶
func (c *IMessageIsNoRowsCall) Return(arg0 bool) *IMessageIsNoRowsCall
Return rewrite *gomock.Call.Return
type IMessageLastIDCall ¶
IMessageLastIDCall wrap *gomock.Call
func (*IMessageLastIDCall) Do ¶
func (c *IMessageLastIDCall) Do(f func(context.Context) (uint64, error)) *IMessageLastIDCall
Do rewrite *gomock.Call.Do
func (*IMessageLastIDCall) DoAndReturn ¶
func (c *IMessageLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *IMessageLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageLastIDCall) Return ¶
func (c *IMessageLastIDCall) Return(arg0 uint64, arg1 error) *IMessageLastIDCall
Return rewrite *gomock.Call.Return
type IMessageListCall ¶
IMessageListCall wrap *gomock.Call
func (*IMessageListCall) Do ¶
func (c *IMessageListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Message, error)) *IMessageListCall
Do rewrite *gomock.Call.Do
func (*IMessageListCall) DoAndReturn ¶
func (c *IMessageListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Message, error)) *IMessageListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageListCall) Return ¶
func (c *IMessageListCall) Return(arg0 []*storage.Message, arg1 error) *IMessageListCall
Return rewrite *gomock.Call.Return
type IMessageListWithTxCall ¶ added in v1.0.4
IMessageListWithTxCall wrap *gomock.Call
func (*IMessageListWithTxCall) Do ¶ added in v1.0.4
func (c *IMessageListWithTxCall) Do(f func(context.Context, storage.MessageListWithTxFilters) ([]storage.MessageWithTx, error)) *IMessageListWithTxCall
Do rewrite *gomock.Call.Do
func (*IMessageListWithTxCall) DoAndReturn ¶ added in v1.0.4
func (c *IMessageListWithTxCall) DoAndReturn(f func(context.Context, storage.MessageListWithTxFilters) ([]storage.MessageWithTx, error)) *IMessageListWithTxCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageListWithTxCall) Return ¶ added in v1.0.4
func (c *IMessageListWithTxCall) Return(arg0 []storage.MessageWithTx, arg1 error) *IMessageListWithTxCall
Return rewrite *gomock.Call.Return
type IMessageSaveCall ¶
IMessageSaveCall wrap *gomock.Call
func (*IMessageSaveCall) Do ¶
func (c *IMessageSaveCall) Do(f func(context.Context, *storage.Message) error) *IMessageSaveCall
Do rewrite *gomock.Call.Do
func (*IMessageSaveCall) DoAndReturn ¶
func (c *IMessageSaveCall) DoAndReturn(f func(context.Context, *storage.Message) error) *IMessageSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageSaveCall) Return ¶
func (c *IMessageSaveCall) Return(arg0 error) *IMessageSaveCall
Return rewrite *gomock.Call.Return
type IMessageUpdateCall ¶
IMessageUpdateCall wrap *gomock.Call
func (*IMessageUpdateCall) Do ¶
func (c *IMessageUpdateCall) Do(f func(context.Context, *storage.Message) error) *IMessageUpdateCall
Do rewrite *gomock.Call.Do
func (*IMessageUpdateCall) DoAndReturn ¶
func (c *IMessageUpdateCall) DoAndReturn(f func(context.Context, *storage.Message) error) *IMessageUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IMessageUpdateCall) Return ¶
func (c *IMessageUpdateCall) Return(arg0 error) *IMessageUpdateCall
Return rewrite *gomock.Call.Return
type INamespaceByNamespaceIdAndVersionCall ¶
INamespaceByNamespaceIdAndVersionCall wrap *gomock.Call
func (*INamespaceByNamespaceIdAndVersionCall) Do ¶
func (c *INamespaceByNamespaceIdAndVersionCall) Do(f func(context.Context, []byte, byte) (storage.Namespace, error)) *INamespaceByNamespaceIdAndVersionCall
Do rewrite *gomock.Call.Do
func (*INamespaceByNamespaceIdAndVersionCall) DoAndReturn ¶
func (c *INamespaceByNamespaceIdAndVersionCall) DoAndReturn(f func(context.Context, []byte, byte) (storage.Namespace, error)) *INamespaceByNamespaceIdAndVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceByNamespaceIdAndVersionCall) Return ¶
func (c *INamespaceByNamespaceIdAndVersionCall) Return(arg0 storage.Namespace, arg1 error) *INamespaceByNamespaceIdAndVersionCall
Return rewrite *gomock.Call.Return
type INamespaceByNamespaceIdCall ¶
INamespaceByNamespaceIdCall wrap *gomock.Call
func (*INamespaceByNamespaceIdCall) Do ¶
func (c *INamespaceByNamespaceIdCall) Do(f func(context.Context, []byte) ([]storage.Namespace, error)) *INamespaceByNamespaceIdCall
Do rewrite *gomock.Call.Do
func (*INamespaceByNamespaceIdCall) DoAndReturn ¶
func (c *INamespaceByNamespaceIdCall) DoAndReturn(f func(context.Context, []byte) ([]storage.Namespace, error)) *INamespaceByNamespaceIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceByNamespaceIdCall) Return ¶
func (c *INamespaceByNamespaceIdCall) Return(arg0 []storage.Namespace, arg1 error) *INamespaceByNamespaceIdCall
Return rewrite *gomock.Call.Return
type INamespaceCountMessagesByHeightCall ¶
INamespaceCountMessagesByHeightCall wrap *gomock.Call
func (*INamespaceCountMessagesByHeightCall) Do ¶
func (c *INamespaceCountMessagesByHeightCall) Do(f func(context.Context, types.Level) (int, error)) *INamespaceCountMessagesByHeightCall
Do rewrite *gomock.Call.Do
func (*INamespaceCountMessagesByHeightCall) DoAndReturn ¶
func (c *INamespaceCountMessagesByHeightCall) DoAndReturn(f func(context.Context, types.Level) (int, error)) *INamespaceCountMessagesByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceCountMessagesByHeightCall) Return ¶
func (c *INamespaceCountMessagesByHeightCall) Return(arg0 int, arg1 error) *INamespaceCountMessagesByHeightCall
Return rewrite *gomock.Call.Return
type INamespaceCursorListCall ¶
INamespaceCursorListCall wrap *gomock.Call
func (*INamespaceCursorListCall) Do ¶
func (c *INamespaceCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Namespace, error)) *INamespaceCursorListCall
Do rewrite *gomock.Call.Do
func (*INamespaceCursorListCall) DoAndReturn ¶
func (c *INamespaceCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Namespace, error)) *INamespaceCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceCursorListCall) Return ¶
func (c *INamespaceCursorListCall) Return(arg0 []*storage.Namespace, arg1 error) *INamespaceCursorListCall
Return rewrite *gomock.Call.Return
type INamespaceGetByIDCall ¶
INamespaceGetByIDCall wrap *gomock.Call
func (*INamespaceGetByIDCall) Do ¶
func (c *INamespaceGetByIDCall) Do(f func(context.Context, uint64) (*storage.Namespace, error)) *INamespaceGetByIDCall
Do rewrite *gomock.Call.Do
func (*INamespaceGetByIDCall) DoAndReturn ¶
func (c *INamespaceGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Namespace, error)) *INamespaceGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceGetByIDCall) Return ¶
func (c *INamespaceGetByIDCall) Return(arg0 *storage.Namespace, arg1 error) *INamespaceGetByIDCall
Return rewrite *gomock.Call.Return
type INamespaceIsNoRowsCall ¶
INamespaceIsNoRowsCall wrap *gomock.Call
func (*INamespaceIsNoRowsCall) Do ¶
func (c *INamespaceIsNoRowsCall) Do(f func(error) bool) *INamespaceIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*INamespaceIsNoRowsCall) DoAndReturn ¶
func (c *INamespaceIsNoRowsCall) DoAndReturn(f func(error) bool) *INamespaceIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceIsNoRowsCall) Return ¶
func (c *INamespaceIsNoRowsCall) Return(arg0 bool) *INamespaceIsNoRowsCall
Return rewrite *gomock.Call.Return
type INamespaceLastIDCall ¶
INamespaceLastIDCall wrap *gomock.Call
func (*INamespaceLastIDCall) Do ¶
func (c *INamespaceLastIDCall) Do(f func(context.Context) (uint64, error)) *INamespaceLastIDCall
Do rewrite *gomock.Call.Do
func (*INamespaceLastIDCall) DoAndReturn ¶
func (c *INamespaceLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *INamespaceLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceLastIDCall) Return ¶
func (c *INamespaceLastIDCall) Return(arg0 uint64, arg1 error) *INamespaceLastIDCall
Return rewrite *gomock.Call.Return
type INamespaceListCall ¶
INamespaceListCall wrap *gomock.Call
func (*INamespaceListCall) Do ¶
func (c *INamespaceListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Namespace, error)) *INamespaceListCall
Do rewrite *gomock.Call.Do
func (*INamespaceListCall) DoAndReturn ¶
func (c *INamespaceListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Namespace, error)) *INamespaceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceListCall) Return ¶
func (c *INamespaceListCall) Return(arg0 []*storage.Namespace, arg1 error) *INamespaceListCall
Return rewrite *gomock.Call.Return
type INamespaceListWithSortCall ¶ added in v1.1.2
INamespaceListWithSortCall wrap *gomock.Call
func (*INamespaceListWithSortCall) Do ¶ added in v1.1.2
func (c *INamespaceListWithSortCall) Do(f func(context.Context, string, storage0.SortOrder, int, int) ([]storage.Namespace, error)) *INamespaceListWithSortCall
Do rewrite *gomock.Call.Do
func (*INamespaceListWithSortCall) DoAndReturn ¶ added in v1.1.2
func (c *INamespaceListWithSortCall) DoAndReturn(f func(context.Context, string, storage0.SortOrder, int, int) ([]storage.Namespace, error)) *INamespaceListWithSortCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceListWithSortCall) Return ¶ added in v1.1.2
func (c *INamespaceListWithSortCall) Return(ns []storage.Namespace, err error) *INamespaceListWithSortCall
Return rewrite *gomock.Call.Return
type INamespaceMessagesByHeightCall ¶
INamespaceMessagesByHeightCall wrap *gomock.Call
func (*INamespaceMessagesByHeightCall) Do ¶
func (c *INamespaceMessagesByHeightCall) Do(f func(context.Context, types.Level, int, int) ([]storage.NamespaceMessage, error)) *INamespaceMessagesByHeightCall
Do rewrite *gomock.Call.Do
func (*INamespaceMessagesByHeightCall) DoAndReturn ¶
func (c *INamespaceMessagesByHeightCall) DoAndReturn(f func(context.Context, types.Level, int, int) ([]storage.NamespaceMessage, error)) *INamespaceMessagesByHeightCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceMessagesByHeightCall) Return ¶
func (c *INamespaceMessagesByHeightCall) Return(arg0 []storage.NamespaceMessage, arg1 error) *INamespaceMessagesByHeightCall
Return rewrite *gomock.Call.Return
type INamespaceMessagesCall ¶
INamespaceMessagesCall wrap *gomock.Call
func (*INamespaceMessagesCall) Do ¶
func (c *INamespaceMessagesCall) Do(f func(context.Context, uint64, int, int) ([]storage.NamespaceMessage, error)) *INamespaceMessagesCall
Do rewrite *gomock.Call.Do
func (*INamespaceMessagesCall) DoAndReturn ¶
func (c *INamespaceMessagesCall) DoAndReturn(f func(context.Context, uint64, int, int) ([]storage.NamespaceMessage, error)) *INamespaceMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceMessagesCall) Return ¶
func (c *INamespaceMessagesCall) Return(arg0 []storage.NamespaceMessage, arg1 error) *INamespaceMessagesCall
Return rewrite *gomock.Call.Return
type INamespaceSaveCall ¶
INamespaceSaveCall wrap *gomock.Call
func (*INamespaceSaveCall) Do ¶
func (c *INamespaceSaveCall) Do(f func(context.Context, *storage.Namespace) error) *INamespaceSaveCall
Do rewrite *gomock.Call.Do
func (*INamespaceSaveCall) DoAndReturn ¶
func (c *INamespaceSaveCall) DoAndReturn(f func(context.Context, *storage.Namespace) error) *INamespaceSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceSaveCall) Return ¶
func (c *INamespaceSaveCall) Return(arg0 error) *INamespaceSaveCall
Return rewrite *gomock.Call.Return
type INamespaceUpdateCall ¶
INamespaceUpdateCall wrap *gomock.Call
func (*INamespaceUpdateCall) Do ¶
func (c *INamespaceUpdateCall) Do(f func(context.Context, *storage.Namespace) error) *INamespaceUpdateCall
Do rewrite *gomock.Call.Do
func (*INamespaceUpdateCall) DoAndReturn ¶
func (c *INamespaceUpdateCall) DoAndReturn(f func(context.Context, *storage.Namespace) error) *INamespaceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*INamespaceUpdateCall) Return ¶
func (c *INamespaceUpdateCall) Return(arg0 error) *INamespaceUpdateCall
Return rewrite *gomock.Call.Return
type IStateByNameCall ¶
IStateByNameCall wrap *gomock.Call
func (*IStateByNameCall) Do ¶
func (c *IStateByNameCall) Do(f func(context.Context, string) (storage.State, error)) *IStateByNameCall
Do rewrite *gomock.Call.Do
func (*IStateByNameCall) DoAndReturn ¶
func (c *IStateByNameCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *IStateByNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStateByNameCall) Return ¶
func (c *IStateByNameCall) Return(arg0 storage.State, arg1 error) *IStateByNameCall
Return rewrite *gomock.Call.Return
type IStateCursorListCall ¶
IStateCursorListCall wrap *gomock.Call
func (*IStateCursorListCall) Do ¶
func (c *IStateCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.State, error)) *IStateCursorListCall
Do rewrite *gomock.Call.Do
func (*IStateCursorListCall) DoAndReturn ¶
func (c *IStateCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.State, error)) *IStateCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStateCursorListCall) Return ¶
func (c *IStateCursorListCall) Return(arg0 []*storage.State, arg1 error) *IStateCursorListCall
Return rewrite *gomock.Call.Return
type IStateGetByIDCall ¶
IStateGetByIDCall wrap *gomock.Call
func (*IStateGetByIDCall) Do ¶
func (c *IStateGetByIDCall) Do(f func(context.Context, uint64) (*storage.State, error)) *IStateGetByIDCall
Do rewrite *gomock.Call.Do
func (*IStateGetByIDCall) DoAndReturn ¶
func (c *IStateGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.State, error)) *IStateGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStateGetByIDCall) Return ¶
func (c *IStateGetByIDCall) Return(arg0 *storage.State, arg1 error) *IStateGetByIDCall
Return rewrite *gomock.Call.Return
type IStateIsNoRowsCall ¶
IStateIsNoRowsCall wrap *gomock.Call
func (*IStateIsNoRowsCall) Do ¶
func (c *IStateIsNoRowsCall) Do(f func(error) bool) *IStateIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*IStateIsNoRowsCall) DoAndReturn ¶
func (c *IStateIsNoRowsCall) DoAndReturn(f func(error) bool) *IStateIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStateIsNoRowsCall) Return ¶
func (c *IStateIsNoRowsCall) Return(arg0 bool) *IStateIsNoRowsCall
Return rewrite *gomock.Call.Return
type IStateLastIDCall ¶
IStateLastIDCall wrap *gomock.Call
func (*IStateLastIDCall) Do ¶
func (c *IStateLastIDCall) Do(f func(context.Context) (uint64, error)) *IStateLastIDCall
Do rewrite *gomock.Call.Do
func (*IStateLastIDCall) DoAndReturn ¶
func (c *IStateLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *IStateLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStateLastIDCall) Return ¶
func (c *IStateLastIDCall) Return(arg0 uint64, arg1 error) *IStateLastIDCall
Return rewrite *gomock.Call.Return
type IStateListCall ¶
IStateListCall wrap *gomock.Call
func (*IStateListCall) Do ¶
func (c *IStateListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.State, error)) *IStateListCall
Do rewrite *gomock.Call.Do
func (*IStateListCall) DoAndReturn ¶
func (c *IStateListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.State, error)) *IStateListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStateListCall) Return ¶
func (c *IStateListCall) Return(arg0 []*storage.State, arg1 error) *IStateListCall
Return rewrite *gomock.Call.Return
type IStateSaveCall ¶
IStateSaveCall wrap *gomock.Call
func (*IStateSaveCall) Do ¶
func (c *IStateSaveCall) Do(f func(context.Context, *storage.State) error) *IStateSaveCall
Do rewrite *gomock.Call.Do
func (*IStateSaveCall) DoAndReturn ¶
func (c *IStateSaveCall) DoAndReturn(f func(context.Context, *storage.State) error) *IStateSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStateSaveCall) Return ¶
func (c *IStateSaveCall) Return(arg0 error) *IStateSaveCall
Return rewrite *gomock.Call.Return
type IStateUpdateCall ¶
IStateUpdateCall wrap *gomock.Call
func (*IStateUpdateCall) Do ¶
func (c *IStateUpdateCall) Do(f func(context.Context, *storage.State) error) *IStateUpdateCall
Do rewrite *gomock.Call.Do
func (*IStateUpdateCall) DoAndReturn ¶
func (c *IStateUpdateCall) DoAndReturn(f func(context.Context, *storage.State) error) *IStateUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStateUpdateCall) Return ¶
func (c *IStateUpdateCall) Return(arg0 error) *IStateUpdateCall
Return rewrite *gomock.Call.Return
type IStatsCountCall ¶
IStatsCountCall wrap *gomock.Call
func (*IStatsCountCall) Do ¶
func (c *IStatsCountCall) Do(f func(context.Context, storage.CountRequest) (string, error)) *IStatsCountCall
Do rewrite *gomock.Call.Do
func (*IStatsCountCall) DoAndReturn ¶
func (c *IStatsCountCall) DoAndReturn(f func(context.Context, storage.CountRequest) (string, error)) *IStatsCountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStatsCountCall) Return ¶
func (c *IStatsCountCall) Return(arg0 string, arg1 error) *IStatsCountCall
Return rewrite *gomock.Call.Return
type IStatsHistogramCall ¶
IStatsHistogramCall wrap *gomock.Call
func (*IStatsHistogramCall) Do ¶
func (c *IStatsHistogramCall) Do(f func(context.Context, storage.HistogramRequest) ([]storage.HistogramItem, error)) *IStatsHistogramCall
Do rewrite *gomock.Call.Do
func (*IStatsHistogramCall) DoAndReturn ¶
func (c *IStatsHistogramCall) DoAndReturn(f func(context.Context, storage.HistogramRequest) ([]storage.HistogramItem, error)) *IStatsHistogramCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStatsHistogramCall) Return ¶
func (c *IStatsHistogramCall) Return(arg0 []storage.HistogramItem, arg1 error) *IStatsHistogramCall
Return rewrite *gomock.Call.Return
type IStatsHistogramCountCall ¶
IStatsHistogramCountCall wrap *gomock.Call
func (*IStatsHistogramCountCall) Do ¶
func (c *IStatsHistogramCountCall) Do(f func(context.Context, storage.HistogramCountRequest) ([]storage.HistogramItem, error)) *IStatsHistogramCountCall
Do rewrite *gomock.Call.Do
func (*IStatsHistogramCountCall) DoAndReturn ¶
func (c *IStatsHistogramCountCall) DoAndReturn(f func(context.Context, storage.HistogramCountRequest) ([]storage.HistogramItem, error)) *IStatsHistogramCountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStatsHistogramCountCall) Return ¶
func (c *IStatsHistogramCountCall) Return(arg0 []storage.HistogramItem, arg1 error) *IStatsHistogramCountCall
Return rewrite *gomock.Call.Return
type IStatsNamespaceSeriesCall ¶ added in v1.1.0
IStatsNamespaceSeriesCall wrap *gomock.Call
func (*IStatsNamespaceSeriesCall) Do ¶ added in v1.1.0
func (c *IStatsNamespaceSeriesCall) Do(f func(context.Context, storage.Timeframe, string, uint64, storage.SeriesRequest) ([]storage.SeriesItem, error)) *IStatsNamespaceSeriesCall
Do rewrite *gomock.Call.Do
func (*IStatsNamespaceSeriesCall) DoAndReturn ¶ added in v1.1.0
func (c *IStatsNamespaceSeriesCall) DoAndReturn(f func(context.Context, storage.Timeframe, string, uint64, storage.SeriesRequest) ([]storage.SeriesItem, error)) *IStatsNamespaceSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStatsNamespaceSeriesCall) Return ¶ added in v1.1.0
func (c *IStatsNamespaceSeriesCall) Return(response []storage.SeriesItem, err error) *IStatsNamespaceSeriesCall
Return rewrite *gomock.Call.Return
type IStatsSeriesCall ¶ added in v1.1.0
IStatsSeriesCall wrap *gomock.Call
func (*IStatsSeriesCall) Do ¶ added in v1.1.0
func (c *IStatsSeriesCall) Do(f func(context.Context, storage.Timeframe, string, storage.SeriesRequest) ([]storage.SeriesItem, error)) *IStatsSeriesCall
Do rewrite *gomock.Call.Do
func (*IStatsSeriesCall) DoAndReturn ¶ added in v1.1.0
func (c *IStatsSeriesCall) DoAndReturn(f func(context.Context, storage.Timeframe, string, storage.SeriesRequest) ([]storage.SeriesItem, error)) *IStatsSeriesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStatsSeriesCall) Return ¶ added in v1.1.0
func (c *IStatsSeriesCall) Return(arg0 []storage.SeriesItem, arg1 error) *IStatsSeriesCall
Return rewrite *gomock.Call.Return
type IStatsSummaryCall ¶
IStatsSummaryCall wrap *gomock.Call
func (*IStatsSummaryCall) Do ¶
func (c *IStatsSummaryCall) Do(f func(context.Context, storage.SummaryRequest) (string, error)) *IStatsSummaryCall
Do rewrite *gomock.Call.Do
func (*IStatsSummaryCall) DoAndReturn ¶
func (c *IStatsSummaryCall) DoAndReturn(f func(context.Context, storage.SummaryRequest) (string, error)) *IStatsSummaryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStatsSummaryCall) Return ¶
func (c *IStatsSummaryCall) Return(arg0 string, arg1 error) *IStatsSummaryCall
Return rewrite *gomock.Call.Return
type IStatsTPSCall ¶ added in v1.1.0
IStatsTPSCall wrap *gomock.Call
func (*IStatsTPSCall) Do ¶ added in v1.1.0
func (c *IStatsTPSCall) Do(f func(context.Context) (storage.TPS, error)) *IStatsTPSCall
Do rewrite *gomock.Call.Do
func (*IStatsTPSCall) DoAndReturn ¶ added in v1.1.0
func (c *IStatsTPSCall) DoAndReturn(f func(context.Context) (storage.TPS, error)) *IStatsTPSCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStatsTPSCall) Return ¶ added in v1.1.0
func (c *IStatsTPSCall) Return(arg0 storage.TPS, arg1 error) *IStatsTPSCall
Return rewrite *gomock.Call.Return
type IStatsTxCountForLast24hCall ¶ added in v1.1.0
IStatsTxCountForLast24hCall wrap *gomock.Call
func (*IStatsTxCountForLast24hCall) Do ¶ added in v1.1.0
func (c *IStatsTxCountForLast24hCall) Do(f func(context.Context) ([]storage.TxCountForLast24hItem, error)) *IStatsTxCountForLast24hCall
Do rewrite *gomock.Call.Do
func (*IStatsTxCountForLast24hCall) DoAndReturn ¶ added in v1.1.0
func (c *IStatsTxCountForLast24hCall) DoAndReturn(f func(context.Context) ([]storage.TxCountForLast24hItem, error)) *IStatsTxCountForLast24hCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IStatsTxCountForLast24hCall) Return ¶ added in v1.1.0
func (c *IStatsTxCountForLast24hCall) Return(arg0 []storage.TxCountForLast24hItem, arg1 error) *IStatsTxCountForLast24hCall
Return rewrite *gomock.Call.Return
type ITxByAddressCall ¶
ITxByAddressCall wrap *gomock.Call
func (*ITxByAddressCall) Do ¶
func (c *ITxByAddressCall) Do(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *ITxByAddressCall
Do rewrite *gomock.Call.Do
func (*ITxByAddressCall) DoAndReturn ¶
func (c *ITxByAddressCall) DoAndReturn(f func(context.Context, uint64, storage.TxFilter) ([]storage.Tx, error)) *ITxByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxByAddressCall) Return ¶
func (c *ITxByAddressCall) Return(arg0 []storage.Tx, arg1 error) *ITxByAddressCall
Return rewrite *gomock.Call.Return
type ITxByHashCall ¶
ITxByHashCall wrap *gomock.Call
func (*ITxByHashCall) Do ¶
func (c *ITxByHashCall) Do(f func(context.Context, []byte) (storage.Tx, error)) *ITxByHashCall
Do rewrite *gomock.Call.Do
func (*ITxByHashCall) DoAndReturn ¶
func (c *ITxByHashCall) DoAndReturn(f func(context.Context, []byte) (storage.Tx, error)) *ITxByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxByHashCall) Return ¶
func (c *ITxByHashCall) Return(arg0 storage.Tx, arg1 error) *ITxByHashCall
Return rewrite *gomock.Call.Return
type ITxByIdWithRelationsCall ¶
ITxByIdWithRelationsCall wrap *gomock.Call
func (*ITxByIdWithRelationsCall) Do ¶
func (c *ITxByIdWithRelationsCall) Do(f func(context.Context, uint64) (storage.Tx, error)) *ITxByIdWithRelationsCall
Do rewrite *gomock.Call.Do
func (*ITxByIdWithRelationsCall) DoAndReturn ¶
func (c *ITxByIdWithRelationsCall) DoAndReturn(f func(context.Context, uint64) (storage.Tx, error)) *ITxByIdWithRelationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxByIdWithRelationsCall) Return ¶
func (c *ITxByIdWithRelationsCall) Return(arg0 storage.Tx, arg1 error) *ITxByIdWithRelationsCall
Return rewrite *gomock.Call.Return
type ITxCursorListCall ¶
ITxCursorListCall wrap *gomock.Call
func (*ITxCursorListCall) Do ¶
func (c *ITxCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Tx, error)) *ITxCursorListCall
Do rewrite *gomock.Call.Do
func (*ITxCursorListCall) DoAndReturn ¶
func (c *ITxCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Tx, error)) *ITxCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxCursorListCall) Return ¶
func (c *ITxCursorListCall) Return(arg0 []*storage.Tx, arg1 error) *ITxCursorListCall
Return rewrite *gomock.Call.Return
type ITxFilterCall ¶
ITxFilterCall wrap *gomock.Call
func (*ITxFilterCall) Do ¶
func (c *ITxFilterCall) Do(f func(context.Context, storage.TxFilter) ([]storage.Tx, error)) *ITxFilterCall
Do rewrite *gomock.Call.Do
func (*ITxFilterCall) DoAndReturn ¶
func (c *ITxFilterCall) DoAndReturn(f func(context.Context, storage.TxFilter) ([]storage.Tx, error)) *ITxFilterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxFilterCall) Return ¶
func (c *ITxFilterCall) Return(arg0 []storage.Tx, arg1 error) *ITxFilterCall
Return rewrite *gomock.Call.Return
type ITxGasCall ¶ added in v1.1.0
ITxGasCall wrap *gomock.Call
func (*ITxGasCall) Do ¶ added in v1.1.0
func (c *ITxGasCall) Do(f func(context.Context, types.Level) ([]storage.Gas, error)) *ITxGasCall
Do rewrite *gomock.Call.Do
func (*ITxGasCall) DoAndReturn ¶ added in v1.1.0
func (c *ITxGasCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Gas, error)) *ITxGasCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxGasCall) Return ¶ added in v1.1.0
func (c *ITxGasCall) Return(arg0 []storage.Gas, arg1 error) *ITxGasCall
Return rewrite *gomock.Call.Return
type ITxGenesisCall ¶
ITxGenesisCall wrap *gomock.Call
func (*ITxGenesisCall) Do ¶
func (c *ITxGenesisCall) Do(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Tx, error)) *ITxGenesisCall
Do rewrite *gomock.Call.Do
func (*ITxGenesisCall) DoAndReturn ¶
func (c *ITxGenesisCall) DoAndReturn(f func(context.Context, int, int, storage0.SortOrder) ([]storage.Tx, error)) *ITxGenesisCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxGenesisCall) Return ¶
func (c *ITxGenesisCall) Return(arg0 []storage.Tx, arg1 error) *ITxGenesisCall
Return rewrite *gomock.Call.Return
type ITxGetByIDCall ¶
ITxGetByIDCall wrap *gomock.Call
func (*ITxGetByIDCall) Do ¶
func (c *ITxGetByIDCall) Do(f func(context.Context, uint64) (*storage.Tx, error)) *ITxGetByIDCall
Do rewrite *gomock.Call.Do
func (*ITxGetByIDCall) DoAndReturn ¶
func (c *ITxGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Tx, error)) *ITxGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxGetByIDCall) Return ¶
func (c *ITxGetByIDCall) Return(arg0 *storage.Tx, arg1 error) *ITxGetByIDCall
Return rewrite *gomock.Call.Return
type ITxIsNoRowsCall ¶
ITxIsNoRowsCall wrap *gomock.Call
func (*ITxIsNoRowsCall) Do ¶
func (c *ITxIsNoRowsCall) Do(f func(error) bool) *ITxIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*ITxIsNoRowsCall) DoAndReturn ¶
func (c *ITxIsNoRowsCall) DoAndReturn(f func(error) bool) *ITxIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxIsNoRowsCall) Return ¶
func (c *ITxIsNoRowsCall) Return(arg0 bool) *ITxIsNoRowsCall
Return rewrite *gomock.Call.Return
type ITxLastIDCall ¶
ITxLastIDCall wrap *gomock.Call
func (*ITxLastIDCall) Do ¶
func (c *ITxLastIDCall) Do(f func(context.Context) (uint64, error)) *ITxLastIDCall
Do rewrite *gomock.Call.Do
func (*ITxLastIDCall) DoAndReturn ¶
func (c *ITxLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *ITxLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxLastIDCall) Return ¶
func (c *ITxLastIDCall) Return(arg0 uint64, arg1 error) *ITxLastIDCall
Return rewrite *gomock.Call.Return
type ITxListCall ¶
ITxListCall wrap *gomock.Call
func (*ITxListCall) Do ¶
func (c *ITxListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Tx, error)) *ITxListCall
Do rewrite *gomock.Call.Do
func (*ITxListCall) DoAndReturn ¶
func (c *ITxListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Tx, error)) *ITxListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxListCall) Return ¶
func (c *ITxListCall) Return(arg0 []*storage.Tx, arg1 error) *ITxListCall
Return rewrite *gomock.Call.Return
type ITxSaveCall ¶
ITxSaveCall wrap *gomock.Call
func (*ITxSaveCall) Do ¶
func (c *ITxSaveCall) Do(f func(context.Context, *storage.Tx) error) *ITxSaveCall
Do rewrite *gomock.Call.Do
func (*ITxSaveCall) DoAndReturn ¶
func (c *ITxSaveCall) DoAndReturn(f func(context.Context, *storage.Tx) error) *ITxSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxSaveCall) Return ¶
func (c *ITxSaveCall) Return(arg0 error) *ITxSaveCall
Return rewrite *gomock.Call.Return
type ITxUpdateCall ¶
ITxUpdateCall wrap *gomock.Call
func (*ITxUpdateCall) Do ¶
func (c *ITxUpdateCall) Do(f func(context.Context, *storage.Tx) error) *ITxUpdateCall
Do rewrite *gomock.Call.Do
func (*ITxUpdateCall) DoAndReturn ¶
func (c *ITxUpdateCall) DoAndReturn(f func(context.Context, *storage.Tx) error) *ITxUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ITxUpdateCall) Return ¶
func (c *ITxUpdateCall) Return(arg0 error) *ITxUpdateCall
Return rewrite *gomock.Call.Return
type IValidatorByAddressCall ¶
IValidatorByAddressCall wrap *gomock.Call
func (*IValidatorByAddressCall) Do ¶
func (c *IValidatorByAddressCall) Do(f func(context.Context, string) (storage.Validator, error)) *IValidatorByAddressCall
Do rewrite *gomock.Call.Do
func (*IValidatorByAddressCall) DoAndReturn ¶
func (c *IValidatorByAddressCall) DoAndReturn(f func(context.Context, string) (storage.Validator, error)) *IValidatorByAddressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IValidatorByAddressCall) Return ¶
func (c *IValidatorByAddressCall) Return(arg0 storage.Validator, arg1 error) *IValidatorByAddressCall
Return rewrite *gomock.Call.Return
type IValidatorCursorListCall ¶
IValidatorCursorListCall wrap *gomock.Call
func (*IValidatorCursorListCall) Do ¶
func (c *IValidatorCursorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Validator, error)) *IValidatorCursorListCall
Do rewrite *gomock.Call.Do
func (*IValidatorCursorListCall) DoAndReturn ¶
func (c *IValidatorCursorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder, storage0.Comparator) ([]*storage.Validator, error)) *IValidatorCursorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IValidatorCursorListCall) Return ¶
func (c *IValidatorCursorListCall) Return(arg0 []*storage.Validator, arg1 error) *IValidatorCursorListCall
Return rewrite *gomock.Call.Return
type IValidatorGetByIDCall ¶
IValidatorGetByIDCall wrap *gomock.Call
func (*IValidatorGetByIDCall) Do ¶
func (c *IValidatorGetByIDCall) Do(f func(context.Context, uint64) (*storage.Validator, error)) *IValidatorGetByIDCall
Do rewrite *gomock.Call.Do
func (*IValidatorGetByIDCall) DoAndReturn ¶
func (c *IValidatorGetByIDCall) DoAndReturn(f func(context.Context, uint64) (*storage.Validator, error)) *IValidatorGetByIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IValidatorGetByIDCall) Return ¶
func (c *IValidatorGetByIDCall) Return(arg0 *storage.Validator, arg1 error) *IValidatorGetByIDCall
Return rewrite *gomock.Call.Return
type IValidatorIsNoRowsCall ¶
IValidatorIsNoRowsCall wrap *gomock.Call
func (*IValidatorIsNoRowsCall) Do ¶
func (c *IValidatorIsNoRowsCall) Do(f func(error) bool) *IValidatorIsNoRowsCall
Do rewrite *gomock.Call.Do
func (*IValidatorIsNoRowsCall) DoAndReturn ¶
func (c *IValidatorIsNoRowsCall) DoAndReturn(f func(error) bool) *IValidatorIsNoRowsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IValidatorIsNoRowsCall) Return ¶
func (c *IValidatorIsNoRowsCall) Return(arg0 bool) *IValidatorIsNoRowsCall
Return rewrite *gomock.Call.Return
type IValidatorLastIDCall ¶
IValidatorLastIDCall wrap *gomock.Call
func (*IValidatorLastIDCall) Do ¶
func (c *IValidatorLastIDCall) Do(f func(context.Context) (uint64, error)) *IValidatorLastIDCall
Do rewrite *gomock.Call.Do
func (*IValidatorLastIDCall) DoAndReturn ¶
func (c *IValidatorLastIDCall) DoAndReturn(f func(context.Context) (uint64, error)) *IValidatorLastIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IValidatorLastIDCall) Return ¶
func (c *IValidatorLastIDCall) Return(arg0 uint64, arg1 error) *IValidatorLastIDCall
Return rewrite *gomock.Call.Return
type IValidatorListCall ¶
IValidatorListCall wrap *gomock.Call
func (*IValidatorListCall) Do ¶
func (c *IValidatorListCall) Do(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Validator, error)) *IValidatorListCall
Do rewrite *gomock.Call.Do
func (*IValidatorListCall) DoAndReturn ¶
func (c *IValidatorListCall) DoAndReturn(f func(context.Context, uint64, uint64, storage0.SortOrder) ([]*storage.Validator, error)) *IValidatorListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IValidatorListCall) Return ¶
func (c *IValidatorListCall) Return(arg0 []*storage.Validator, arg1 error) *IValidatorListCall
Return rewrite *gomock.Call.Return
type IValidatorSaveCall ¶
IValidatorSaveCall wrap *gomock.Call
func (*IValidatorSaveCall) Do ¶
func (c *IValidatorSaveCall) Do(f func(context.Context, *storage.Validator) error) *IValidatorSaveCall
Do rewrite *gomock.Call.Do
func (*IValidatorSaveCall) DoAndReturn ¶
func (c *IValidatorSaveCall) DoAndReturn(f func(context.Context, *storage.Validator) error) *IValidatorSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IValidatorSaveCall) Return ¶
func (c *IValidatorSaveCall) Return(arg0 error) *IValidatorSaveCall
Return rewrite *gomock.Call.Return
type IValidatorUpdateCall ¶
IValidatorUpdateCall wrap *gomock.Call
func (*IValidatorUpdateCall) Do ¶
func (c *IValidatorUpdateCall) Do(f func(context.Context, *storage.Validator) error) *IValidatorUpdateCall
Do rewrite *gomock.Call.Do
func (*IValidatorUpdateCall) DoAndReturn ¶
func (c *IValidatorUpdateCall) DoAndReturn(f func(context.Context, *storage.Validator) error) *IValidatorUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IValidatorUpdateCall) Return ¶
func (c *IValidatorUpdateCall) Return(arg0 error) *IValidatorUpdateCall
Return rewrite *gomock.Call.Return
type ListenerCloseCall ¶
ListenerCloseCall wrap *gomock.Call
func (*ListenerCloseCall) Do ¶
func (c *ListenerCloseCall) Do(f func() error) *ListenerCloseCall
Do rewrite *gomock.Call.Do
func (*ListenerCloseCall) DoAndReturn ¶
func (c *ListenerCloseCall) DoAndReturn(f func() error) *ListenerCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ListenerCloseCall) Return ¶
func (c *ListenerCloseCall) Return(arg0 error) *ListenerCloseCall
Return rewrite *gomock.Call.Return
type ListenerFactoryCreateListenerCall ¶
ListenerFactoryCreateListenerCall wrap *gomock.Call
func (*ListenerFactoryCreateListenerCall) Do ¶
func (c *ListenerFactoryCreateListenerCall) Do(f func() storage.Listener) *ListenerFactoryCreateListenerCall
Do rewrite *gomock.Call.Do
func (*ListenerFactoryCreateListenerCall) DoAndReturn ¶
func (c *ListenerFactoryCreateListenerCall) DoAndReturn(f func() storage.Listener) *ListenerFactoryCreateListenerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ListenerFactoryCreateListenerCall) Return ¶
func (c *ListenerFactoryCreateListenerCall) Return(arg0 storage.Listener) *ListenerFactoryCreateListenerCall
Return rewrite *gomock.Call.Return
type ListenerListenCall ¶
ListenerListenCall wrap *gomock.Call
func (*ListenerListenCall) Do ¶
func (c *ListenerListenCall) Do(f func() chan *pq.Notification) *ListenerListenCall
Do rewrite *gomock.Call.Do
func (*ListenerListenCall) DoAndReturn ¶
func (c *ListenerListenCall) DoAndReturn(f func() chan *pq.Notification) *ListenerListenCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ListenerListenCall) Return ¶
func (c *ListenerListenCall) Return(arg0 chan *pq.Notification) *ListenerListenCall
Return rewrite *gomock.Call.Return
type ListenerSubscribeCall ¶
ListenerSubscribeCall wrap *gomock.Call
func (*ListenerSubscribeCall) Do ¶
func (c *ListenerSubscribeCall) Do(f func(context.Context, ...string) error) *ListenerSubscribeCall
Do rewrite *gomock.Call.Do
func (*ListenerSubscribeCall) DoAndReturn ¶
func (c *ListenerSubscribeCall) DoAndReturn(f func(context.Context, ...string) error) *ListenerSubscribeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ListenerSubscribeCall) Return ¶
func (c *ListenerSubscribeCall) Return(arg0 error) *ListenerSubscribeCall
Return rewrite *gomock.Call.Return
type MockIAddress ¶
type MockIAddress struct {
// contains filtered or unexported fields
}
MockIAddress is a mock of IAddress interface.
func NewMockIAddress ¶
func NewMockIAddress(ctrl *gomock.Controller) *MockIAddress
NewMockIAddress creates a new mock instance.
func (*MockIAddress) CursorList ¶
func (m *MockIAddress) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Address, error)
CursorList mocks base method.
func (*MockIAddress) EXPECT ¶
func (m *MockIAddress) EXPECT() *MockIAddressMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIAddress) IsNoRows ¶
func (m *MockIAddress) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIAddress) LastID ¶
func (m *MockIAddress) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIAddress) List ¶
func (m *MockIAddress) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Address, error)
List mocks base method.
func (*MockIAddress) ListWithBalance ¶
func (m *MockIAddress) ListWithBalance(ctx context.Context, filters storage.AddressListFilter) ([]storage.Address, error)
ListWithBalance mocks base method.
func (*MockIAddress) Messages ¶
func (m *MockIAddress) Messages(ctx context.Context, id uint64, filters storage.AddressMsgsFilter) ([]storage.MsgAddress, error)
Messages mocks base method.
type MockIAddressMockRecorder ¶
type MockIAddressMockRecorder struct {
// contains filtered or unexported fields
}
MockIAddressMockRecorder is the mock recorder for MockIAddress.
func (*MockIAddressMockRecorder) ByHash ¶
func (mr *MockIAddressMockRecorder) ByHash(ctx, hash any) *IAddressByHashCall
ByHash indicates an expected call of ByHash.
func (*MockIAddressMockRecorder) CursorList ¶
func (mr *MockIAddressMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IAddressCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIAddressMockRecorder) GetByID ¶
func (mr *MockIAddressMockRecorder) GetByID(ctx, id any) *IAddressGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIAddressMockRecorder) IsNoRows ¶
func (mr *MockIAddressMockRecorder) IsNoRows(err any) *IAddressIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIAddressMockRecorder) LastID ¶
func (mr *MockIAddressMockRecorder) LastID(ctx any) *IAddressLastIDCall
LastID indicates an expected call of LastID.
func (*MockIAddressMockRecorder) List ¶
func (mr *MockIAddressMockRecorder) List(ctx, limit, offset, order any) *IAddressListCall
List indicates an expected call of List.
func (*MockIAddressMockRecorder) ListWithBalance ¶
func (mr *MockIAddressMockRecorder) ListWithBalance(ctx, filters any) *IAddressListWithBalanceCall
ListWithBalance indicates an expected call of ListWithBalance.
func (*MockIAddressMockRecorder) Messages ¶
func (mr *MockIAddressMockRecorder) Messages(ctx, id, filters any) *IAddressMessagesCall
Messages indicates an expected call of Messages.
func (*MockIAddressMockRecorder) Save ¶
func (mr *MockIAddressMockRecorder) Save(ctx, m any) *IAddressSaveCall
Save indicates an expected call of Save.
func (*MockIAddressMockRecorder) Update ¶
func (mr *MockIAddressMockRecorder) Update(ctx, m any) *IAddressUpdateCall
Update indicates an expected call of Update.
type MockIBalance ¶
type MockIBalance struct {
// contains filtered or unexported fields
}
MockIBalance is a mock of IBalance interface.
func NewMockIBalance ¶
func NewMockIBalance(ctrl *gomock.Controller) *MockIBalance
NewMockIBalance creates a new mock instance.
func (*MockIBalance) CursorList ¶
func (m *MockIBalance) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Balance, error)
CursorList mocks base method.
func (*MockIBalance) EXPECT ¶
func (m *MockIBalance) EXPECT() *MockIBalanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBalance) IsNoRows ¶
func (m *MockIBalance) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBalance) LastID ¶
func (m *MockIBalance) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBalance) List ¶
func (m *MockIBalance) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Balance, error)
List mocks base method.
type MockIBalanceMockRecorder ¶
type MockIBalanceMockRecorder struct {
// contains filtered or unexported fields
}
MockIBalanceMockRecorder is the mock recorder for MockIBalance.
func (*MockIBalanceMockRecorder) CursorList ¶
func (mr *MockIBalanceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IBalanceCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBalanceMockRecorder) GetByID ¶
func (mr *MockIBalanceMockRecorder) GetByID(ctx, id any) *IBalanceGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBalanceMockRecorder) IsNoRows ¶
func (mr *MockIBalanceMockRecorder) IsNoRows(err any) *IBalanceIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBalanceMockRecorder) LastID ¶
func (mr *MockIBalanceMockRecorder) LastID(ctx any) *IBalanceLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBalanceMockRecorder) List ¶
func (mr *MockIBalanceMockRecorder) List(ctx, limit, offset, order any) *IBalanceListCall
List indicates an expected call of List.
func (*MockIBalanceMockRecorder) Save ¶
func (mr *MockIBalanceMockRecorder) Save(ctx, m any) *IBalanceSaveCall
Save indicates an expected call of Save.
func (*MockIBalanceMockRecorder) Update ¶
func (mr *MockIBalanceMockRecorder) Update(ctx, m any) *IBalanceUpdateCall
Update indicates an expected call of Update.
type MockIBlock ¶
type MockIBlock struct {
// contains filtered or unexported fields
}
MockIBlock is a mock of IBlock interface.
func NewMockIBlock ¶
func NewMockIBlock(ctrl *gomock.Controller) *MockIBlock
NewMockIBlock creates a new mock instance.
func (*MockIBlock) ByHeightWithStats ¶
func (m *MockIBlock) ByHeightWithStats(ctx context.Context, height types.Level) (storage.Block, error)
ByHeightWithStats mocks base method.
func (*MockIBlock) ByIdWithRelations ¶
ByIdWithRelations mocks base method.
func (*MockIBlock) CursorList ¶
func (m *MockIBlock) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Block, error)
CursorList mocks base method.
func (*MockIBlock) EXPECT ¶
func (m *MockIBlock) EXPECT() *MockIBlockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBlock) IsNoRows ¶
func (m *MockIBlock) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIBlock) LastID ¶
func (m *MockIBlock) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIBlock) List ¶
func (m *MockIBlock) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Block, error)
List mocks base method.
func (*MockIBlock) ListWithStats ¶
func (m *MockIBlock) ListWithStats(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Block, error)
ListWithStats mocks base method.
type MockIBlockMockRecorder ¶
type MockIBlockMockRecorder struct {
// contains filtered or unexported fields
}
MockIBlockMockRecorder is the mock recorder for MockIBlock.
func (*MockIBlockMockRecorder) ByHash ¶
func (mr *MockIBlockMockRecorder) ByHash(ctx, hash any) *IBlockByHashCall
ByHash indicates an expected call of ByHash.
func (*MockIBlockMockRecorder) ByHeight ¶
func (mr *MockIBlockMockRecorder) ByHeight(ctx, height any) *IBlockByHeightCall
ByHeight indicates an expected call of ByHeight.
func (*MockIBlockMockRecorder) ByHeightWithStats ¶
func (mr *MockIBlockMockRecorder) ByHeightWithStats(ctx, height any) *IBlockByHeightWithStatsCall
ByHeightWithStats indicates an expected call of ByHeightWithStats.
func (*MockIBlockMockRecorder) ByIdWithRelations ¶
func (mr *MockIBlockMockRecorder) ByIdWithRelations(ctx, id any) *IBlockByIdWithRelationsCall
ByIdWithRelations indicates an expected call of ByIdWithRelations.
func (*MockIBlockMockRecorder) CursorList ¶
func (mr *MockIBlockMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IBlockCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIBlockMockRecorder) GetByID ¶
func (mr *MockIBlockMockRecorder) GetByID(ctx, id any) *IBlockGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIBlockMockRecorder) IsNoRows ¶
func (mr *MockIBlockMockRecorder) IsNoRows(err any) *IBlockIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIBlockMockRecorder) Last ¶
func (mr *MockIBlockMockRecorder) Last(ctx any) *IBlockLastCall
Last indicates an expected call of Last.
func (*MockIBlockMockRecorder) LastID ¶
func (mr *MockIBlockMockRecorder) LastID(ctx any) *IBlockLastIDCall
LastID indicates an expected call of LastID.
func (*MockIBlockMockRecorder) List ¶
func (mr *MockIBlockMockRecorder) List(ctx, limit, offset, order any) *IBlockListCall
List indicates an expected call of List.
func (*MockIBlockMockRecorder) ListWithStats ¶
func (mr *MockIBlockMockRecorder) ListWithStats(ctx, limit, offset, order any) *IBlockListWithStatsCall
ListWithStats indicates an expected call of ListWithStats.
func (*MockIBlockMockRecorder) Save ¶
func (mr *MockIBlockMockRecorder) Save(ctx, m any) *IBlockSaveCall
Save indicates an expected call of Save.
func (*MockIBlockMockRecorder) Update ¶
func (mr *MockIBlockMockRecorder) Update(ctx, m any) *IBlockUpdateCall
Update indicates an expected call of Update.
type MockIBlockStats ¶
type MockIBlockStats struct {
// contains filtered or unexported fields
}
MockIBlockStats is a mock of IBlockStats interface.
func NewMockIBlockStats ¶
func NewMockIBlockStats(ctrl *gomock.Controller) *MockIBlockStats
NewMockIBlockStats creates a new mock instance.
func (*MockIBlockStats) ByHeight ¶
func (m *MockIBlockStats) ByHeight(ctx context.Context, height types.Level) (storage.BlockStats, error)
ByHeight mocks base method.
func (*MockIBlockStats) EXPECT ¶
func (m *MockIBlockStats) EXPECT() *MockIBlockStatsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIBlockStatsMockRecorder ¶
type MockIBlockStatsMockRecorder struct {
// contains filtered or unexported fields
}
MockIBlockStatsMockRecorder is the mock recorder for MockIBlockStats.
func (*MockIBlockStatsMockRecorder) ByHeight ¶
func (mr *MockIBlockStatsMockRecorder) ByHeight(ctx, height any) *IBlockStatsByHeightCall
ByHeight indicates an expected call of ByHeight.
func (*MockIBlockStatsMockRecorder) LastFrom ¶ added in v1.1.0
func (mr *MockIBlockStatsMockRecorder) LastFrom(ctx, head, limit any) *IBlockStatsLastFromCall
LastFrom indicates an expected call of LastFrom.
type MockIConstant ¶
type MockIConstant struct {
// contains filtered or unexported fields
}
MockIConstant is a mock of IConstant interface.
func NewMockIConstant ¶
func NewMockIConstant(ctrl *gomock.Controller) *MockIConstant
NewMockIConstant creates a new mock instance.
func (*MockIConstant) ByModule ¶
func (m *MockIConstant) ByModule(ctx context.Context, module types.ModuleName) ([]storage.Constant, error)
ByModule mocks base method.
func (*MockIConstant) EXPECT ¶
func (m *MockIConstant) EXPECT() *MockIConstantMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIConstantMockRecorder ¶
type MockIConstantMockRecorder struct {
// contains filtered or unexported fields
}
MockIConstantMockRecorder is the mock recorder for MockIConstant.
func (*MockIConstantMockRecorder) All ¶
func (mr *MockIConstantMockRecorder) All(ctx any) *IConstantAllCall
All indicates an expected call of All.
func (*MockIConstantMockRecorder) ByModule ¶
func (mr *MockIConstantMockRecorder) ByModule(ctx, module any) *IConstantByModuleCall
ByModule indicates an expected call of ByModule.
func (*MockIConstantMockRecorder) Get ¶
func (mr *MockIConstantMockRecorder) Get(ctx, module, name any) *IConstantGetCall
Get indicates an expected call of Get.
type MockIDenomMetadata ¶
type MockIDenomMetadata struct {
// contains filtered or unexported fields
}
MockIDenomMetadata is a mock of IDenomMetadata interface.
func NewMockIDenomMetadata ¶
func NewMockIDenomMetadata(ctrl *gomock.Controller) *MockIDenomMetadata
NewMockIDenomMetadata creates a new mock instance.
func (*MockIDenomMetadata) All ¶
func (m *MockIDenomMetadata) All(ctx context.Context) ([]storage.DenomMetadata, error)
All mocks base method.
func (*MockIDenomMetadata) EXPECT ¶
func (m *MockIDenomMetadata) EXPECT() *MockIDenomMetadataMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIDenomMetadataMockRecorder ¶
type MockIDenomMetadataMockRecorder struct {
// contains filtered or unexported fields
}
MockIDenomMetadataMockRecorder is the mock recorder for MockIDenomMetadata.
func (*MockIDenomMetadataMockRecorder) All ¶
func (mr *MockIDenomMetadataMockRecorder) All(ctx any) *IDenomMetadataAllCall
All indicates an expected call of All.
type MockIEvent ¶
type MockIEvent struct {
// contains filtered or unexported fields
}
MockIEvent is a mock of IEvent interface.
func NewMockIEvent ¶
func NewMockIEvent(ctrl *gomock.Controller) *MockIEvent
NewMockIEvent creates a new mock instance.
func (*MockIEvent) CursorList ¶
func (m *MockIEvent) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Event, error)
CursorList mocks base method.
func (*MockIEvent) EXPECT ¶
func (m *MockIEvent) EXPECT() *MockIEventMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIEvent) IsNoRows ¶
func (m *MockIEvent) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIEvent) LastID ¶
func (m *MockIEvent) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIEvent) List ¶
func (m *MockIEvent) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Event, error)
List mocks base method.
type MockIEventMockRecorder ¶
type MockIEventMockRecorder struct {
// contains filtered or unexported fields
}
MockIEventMockRecorder is the mock recorder for MockIEvent.
func (*MockIEventMockRecorder) ByBlock ¶
func (mr *MockIEventMockRecorder) ByBlock(ctx, height any) *IEventByBlockCall
ByBlock indicates an expected call of ByBlock.
func (*MockIEventMockRecorder) ByTxId ¶
func (mr *MockIEventMockRecorder) ByTxId(ctx, txId any) *IEventByTxIdCall
ByTxId indicates an expected call of ByTxId.
func (*MockIEventMockRecorder) CursorList ¶
func (mr *MockIEventMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IEventCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIEventMockRecorder) GetByID ¶
func (mr *MockIEventMockRecorder) GetByID(ctx, id any) *IEventGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIEventMockRecorder) IsNoRows ¶
func (mr *MockIEventMockRecorder) IsNoRows(err any) *IEventIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIEventMockRecorder) LastID ¶
func (mr *MockIEventMockRecorder) LastID(ctx any) *IEventLastIDCall
LastID indicates an expected call of LastID.
func (*MockIEventMockRecorder) List ¶
func (mr *MockIEventMockRecorder) List(ctx, limit, offset, order any) *IEventListCall
List indicates an expected call of List.
func (*MockIEventMockRecorder) Save ¶
func (mr *MockIEventMockRecorder) Save(ctx, m any) *IEventSaveCall
Save indicates an expected call of Save.
func (*MockIEventMockRecorder) Update ¶
func (mr *MockIEventMockRecorder) Update(ctx, m any) *IEventUpdateCall
Update indicates an expected call of Update.
type MockIMessage ¶
type MockIMessage struct {
// contains filtered or unexported fields
}
MockIMessage is a mock of IMessage interface.
func NewMockIMessage ¶
func NewMockIMessage(ctrl *gomock.Controller) *MockIMessage
NewMockIMessage creates a new mock instance.
func (*MockIMessage) CursorList ¶
func (m *MockIMessage) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Message, error)
CursorList mocks base method.
func (*MockIMessage) EXPECT ¶
func (m *MockIMessage) EXPECT() *MockIMessageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIMessage) IsNoRows ¶
func (m *MockIMessage) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIMessage) LastID ¶
func (m *MockIMessage) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIMessage) List ¶
func (m *MockIMessage) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Message, error)
List mocks base method.
func (*MockIMessage) ListWithTx ¶ added in v1.0.4
func (m *MockIMessage) ListWithTx(ctx context.Context, filters storage.MessageListWithTxFilters) ([]storage.MessageWithTx, error)
ListWithTx mocks base method.
type MockIMessageMockRecorder ¶
type MockIMessageMockRecorder struct {
// contains filtered or unexported fields
}
MockIMessageMockRecorder is the mock recorder for MockIMessage.
func (*MockIMessageMockRecorder) ByTxId ¶
func (mr *MockIMessageMockRecorder) ByTxId(ctx, txId any) *IMessageByTxIdCall
ByTxId indicates an expected call of ByTxId.
func (*MockIMessageMockRecorder) CursorList ¶
func (mr *MockIMessageMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IMessageCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIMessageMockRecorder) GetByID ¶
func (mr *MockIMessageMockRecorder) GetByID(ctx, id any) *IMessageGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIMessageMockRecorder) IsNoRows ¶
func (mr *MockIMessageMockRecorder) IsNoRows(err any) *IMessageIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIMessageMockRecorder) LastID ¶
func (mr *MockIMessageMockRecorder) LastID(ctx any) *IMessageLastIDCall
LastID indicates an expected call of LastID.
func (*MockIMessageMockRecorder) List ¶
func (mr *MockIMessageMockRecorder) List(ctx, limit, offset, order any) *IMessageListCall
List indicates an expected call of List.
func (*MockIMessageMockRecorder) ListWithTx ¶ added in v1.0.4
func (mr *MockIMessageMockRecorder) ListWithTx(ctx, filters any) *IMessageListWithTxCall
ListWithTx indicates an expected call of ListWithTx.
func (*MockIMessageMockRecorder) Save ¶
func (mr *MockIMessageMockRecorder) Save(ctx, m any) *IMessageSaveCall
Save indicates an expected call of Save.
func (*MockIMessageMockRecorder) Update ¶
func (mr *MockIMessageMockRecorder) Update(ctx, m any) *IMessageUpdateCall
Update indicates an expected call of Update.
type MockINamespace ¶
type MockINamespace struct {
// contains filtered or unexported fields
}
MockINamespace is a mock of INamespace interface.
func NewMockINamespace ¶
func NewMockINamespace(ctrl *gomock.Controller) *MockINamespace
NewMockINamespace creates a new mock instance.
func (*MockINamespace) ByNamespaceId ¶
func (m *MockINamespace) ByNamespaceId(ctx context.Context, namespaceId []byte) ([]storage.Namespace, error)
ByNamespaceId mocks base method.
func (*MockINamespace) ByNamespaceIdAndVersion ¶
func (m *MockINamespace) ByNamespaceIdAndVersion(ctx context.Context, namespaceId []byte, version byte) (storage.Namespace, error)
ByNamespaceIdAndVersion mocks base method.
func (*MockINamespace) CountMessagesByHeight ¶
func (m *MockINamespace) CountMessagesByHeight(ctx context.Context, height types.Level) (int, error)
CountMessagesByHeight mocks base method.
func (*MockINamespace) CursorList ¶
func (m *MockINamespace) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Namespace, error)
CursorList mocks base method.
func (*MockINamespace) EXPECT ¶
func (m *MockINamespace) EXPECT() *MockINamespaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockINamespace) IsNoRows ¶
func (m *MockINamespace) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockINamespace) LastID ¶
func (m *MockINamespace) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockINamespace) List ¶
func (m *MockINamespace) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Namespace, error)
List mocks base method.
func (*MockINamespace) ListWithSort ¶ added in v1.1.2
func (m *MockINamespace) ListWithSort(ctx context.Context, sortField string, sort storage0.SortOrder, limit, offset int) ([]storage.Namespace, error)
ListWithSort mocks base method.
func (*MockINamespace) Messages ¶
func (m *MockINamespace) Messages(ctx context.Context, id uint64, limit, offset int) ([]storage.NamespaceMessage, error)
Messages mocks base method.
func (*MockINamespace) MessagesByHeight ¶
func (m *MockINamespace) MessagesByHeight(ctx context.Context, height types.Level, limit, offset int) ([]storage.NamespaceMessage, error)
MessagesByHeight mocks base method.
type MockINamespaceMockRecorder ¶
type MockINamespaceMockRecorder struct {
// contains filtered or unexported fields
}
MockINamespaceMockRecorder is the mock recorder for MockINamespace.
func (*MockINamespaceMockRecorder) ByNamespaceId ¶
func (mr *MockINamespaceMockRecorder) ByNamespaceId(ctx, namespaceId any) *INamespaceByNamespaceIdCall
ByNamespaceId indicates an expected call of ByNamespaceId.
func (*MockINamespaceMockRecorder) ByNamespaceIdAndVersion ¶
func (mr *MockINamespaceMockRecorder) ByNamespaceIdAndVersion(ctx, namespaceId, version any) *INamespaceByNamespaceIdAndVersionCall
ByNamespaceIdAndVersion indicates an expected call of ByNamespaceIdAndVersion.
func (*MockINamespaceMockRecorder) CountMessagesByHeight ¶
func (mr *MockINamespaceMockRecorder) CountMessagesByHeight(ctx, height any) *INamespaceCountMessagesByHeightCall
CountMessagesByHeight indicates an expected call of CountMessagesByHeight.
func (*MockINamespaceMockRecorder) CursorList ¶
func (mr *MockINamespaceMockRecorder) CursorList(ctx, id, limit, order, cmp any) *INamespaceCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockINamespaceMockRecorder) GetByID ¶
func (mr *MockINamespaceMockRecorder) GetByID(ctx, id any) *INamespaceGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockINamespaceMockRecorder) IsNoRows ¶
func (mr *MockINamespaceMockRecorder) IsNoRows(err any) *INamespaceIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockINamespaceMockRecorder) LastID ¶
func (mr *MockINamespaceMockRecorder) LastID(ctx any) *INamespaceLastIDCall
LastID indicates an expected call of LastID.
func (*MockINamespaceMockRecorder) List ¶
func (mr *MockINamespaceMockRecorder) List(ctx, limit, offset, order any) *INamespaceListCall
List indicates an expected call of List.
func (*MockINamespaceMockRecorder) ListWithSort ¶ added in v1.1.2
func (mr *MockINamespaceMockRecorder) ListWithSort(ctx, sortField, sort, limit, offset any) *INamespaceListWithSortCall
ListWithSort indicates an expected call of ListWithSort.
func (*MockINamespaceMockRecorder) Messages ¶
func (mr *MockINamespaceMockRecorder) Messages(ctx, id, limit, offset any) *INamespaceMessagesCall
Messages indicates an expected call of Messages.
func (*MockINamespaceMockRecorder) MessagesByHeight ¶
func (mr *MockINamespaceMockRecorder) MessagesByHeight(ctx, height, limit, offset any) *INamespaceMessagesByHeightCall
MessagesByHeight indicates an expected call of MessagesByHeight.
func (*MockINamespaceMockRecorder) Save ¶
func (mr *MockINamespaceMockRecorder) Save(ctx, m any) *INamespaceSaveCall
Save indicates an expected call of Save.
func (*MockINamespaceMockRecorder) Update ¶
func (mr *MockINamespaceMockRecorder) Update(ctx, m any) *INamespaceUpdateCall
Update indicates an expected call of Update.
type MockIState ¶
type MockIState struct {
// contains filtered or unexported fields
}
MockIState is a mock of IState interface.
func NewMockIState ¶
func NewMockIState(ctrl *gomock.Controller) *MockIState
NewMockIState creates a new mock instance.
func (*MockIState) CursorList ¶
func (m *MockIState) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.State, error)
CursorList mocks base method.
func (*MockIState) EXPECT ¶
func (m *MockIState) EXPECT() *MockIStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIState) IsNoRows ¶
func (m *MockIState) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIState) LastID ¶
func (m *MockIState) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIState) List ¶
func (m *MockIState) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.State, error)
List mocks base method.
type MockIStateMockRecorder ¶
type MockIStateMockRecorder struct {
// contains filtered or unexported fields
}
MockIStateMockRecorder is the mock recorder for MockIState.
func (*MockIStateMockRecorder) ByName ¶
func (mr *MockIStateMockRecorder) ByName(ctx, name any) *IStateByNameCall
ByName indicates an expected call of ByName.
func (*MockIStateMockRecorder) CursorList ¶
func (mr *MockIStateMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IStateCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIStateMockRecorder) GetByID ¶
func (mr *MockIStateMockRecorder) GetByID(ctx, id any) *IStateGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIStateMockRecorder) IsNoRows ¶
func (mr *MockIStateMockRecorder) IsNoRows(err any) *IStateIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIStateMockRecorder) LastID ¶
func (mr *MockIStateMockRecorder) LastID(ctx any) *IStateLastIDCall
LastID indicates an expected call of LastID.
func (*MockIStateMockRecorder) List ¶
func (mr *MockIStateMockRecorder) List(ctx, limit, offset, order any) *IStateListCall
List indicates an expected call of List.
func (*MockIStateMockRecorder) Save ¶
func (mr *MockIStateMockRecorder) Save(ctx, m any) *IStateSaveCall
Save indicates an expected call of Save.
func (*MockIStateMockRecorder) Update ¶
func (mr *MockIStateMockRecorder) Update(ctx, m any) *IStateUpdateCall
Update indicates an expected call of Update.
type MockIStats ¶
type MockIStats struct {
// contains filtered or unexported fields
}
MockIStats is a mock of IStats interface.
func NewMockIStats ¶
func NewMockIStats(ctrl *gomock.Controller) *MockIStats
NewMockIStats creates a new mock instance.
func (*MockIStats) Count ¶
func (m *MockIStats) Count(ctx context.Context, req storage.CountRequest) (string, error)
Count mocks base method.
func (*MockIStats) EXPECT ¶
func (m *MockIStats) EXPECT() *MockIStatsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStats) Histogram ¶
func (m *MockIStats) Histogram(ctx context.Context, req storage.HistogramRequest) ([]storage.HistogramItem, error)
Histogram mocks base method.
func (*MockIStats) HistogramCount ¶
func (m *MockIStats) HistogramCount(ctx context.Context, req storage.HistogramCountRequest) ([]storage.HistogramItem, error)
HistogramCount mocks base method.
func (*MockIStats) NamespaceSeries ¶ added in v1.1.0
func (m *MockIStats) NamespaceSeries(ctx context.Context, timeframe storage.Timeframe, name string, nsId uint64, req storage.SeriesRequest) ([]storage.SeriesItem, error)
NamespaceSeries mocks base method.
func (*MockIStats) Series ¶ added in v1.1.0
func (m *MockIStats) Series(ctx context.Context, timeframe storage.Timeframe, name string, req storage.SeriesRequest) ([]storage.SeriesItem, error)
Series mocks base method.
func (*MockIStats) Summary ¶
func (m *MockIStats) Summary(ctx context.Context, req storage.SummaryRequest) (string, error)
Summary mocks base method.
func (*MockIStats) TxCountForLast24h ¶ added in v1.1.0
func (m *MockIStats) TxCountForLast24h(ctx context.Context) ([]storage.TxCountForLast24hItem, error)
TxCountForLast24h mocks base method.
type MockIStatsMockRecorder ¶
type MockIStatsMockRecorder struct {
// contains filtered or unexported fields
}
MockIStatsMockRecorder is the mock recorder for MockIStats.
func (*MockIStatsMockRecorder) Count ¶
func (mr *MockIStatsMockRecorder) Count(ctx, req any) *IStatsCountCall
Count indicates an expected call of Count.
func (*MockIStatsMockRecorder) Histogram ¶
func (mr *MockIStatsMockRecorder) Histogram(ctx, req any) *IStatsHistogramCall
Histogram indicates an expected call of Histogram.
func (*MockIStatsMockRecorder) HistogramCount ¶
func (mr *MockIStatsMockRecorder) HistogramCount(ctx, req any) *IStatsHistogramCountCall
HistogramCount indicates an expected call of HistogramCount.
func (*MockIStatsMockRecorder) NamespaceSeries ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) NamespaceSeries(ctx, timeframe, name, nsId, req any) *IStatsNamespaceSeriesCall
NamespaceSeries indicates an expected call of NamespaceSeries.
func (*MockIStatsMockRecorder) Series ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) Series(ctx, timeframe, name, req any) *IStatsSeriesCall
Series indicates an expected call of Series.
func (*MockIStatsMockRecorder) Summary ¶
func (mr *MockIStatsMockRecorder) Summary(ctx, req any) *IStatsSummaryCall
Summary indicates an expected call of Summary.
func (*MockIStatsMockRecorder) TPS ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) TPS(ctx any) *IStatsTPSCall
TPS indicates an expected call of TPS.
func (*MockIStatsMockRecorder) TxCountForLast24h ¶ added in v1.1.0
func (mr *MockIStatsMockRecorder) TxCountForLast24h(ctx any) *IStatsTxCountForLast24hCall
TxCountForLast24h indicates an expected call of TxCountForLast24h.
type MockITx ¶
type MockITx struct {
// contains filtered or unexported fields
}
MockITx is a mock of ITx interface.
func NewMockITx ¶
func NewMockITx(ctrl *gomock.Controller) *MockITx
NewMockITx creates a new mock instance.
func (*MockITx) ByAddress ¶
func (m *MockITx) ByAddress(ctx context.Context, addressId uint64, fltrs storage.TxFilter) ([]storage.Tx, error)
ByAddress mocks base method.
func (*MockITx) ByIdWithRelations ¶
ByIdWithRelations mocks base method.
func (*MockITx) CursorList ¶
func (m *MockITx) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Tx, error)
CursorList mocks base method.
func (*MockITx) EXPECT ¶
func (m *MockITx) EXPECT() *MockITxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockITx) Genesis ¶
func (m *MockITx) Genesis(ctx context.Context, limit, offset int, sortOrder storage0.SortOrder) ([]storage.Tx, error)
Genesis mocks base method.
func (*MockITx) List ¶
func (m *MockITx) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Tx, error)
List mocks base method.
type MockITxMockRecorder ¶
type MockITxMockRecorder struct {
// contains filtered or unexported fields
}
MockITxMockRecorder is the mock recorder for MockITx.
func (*MockITxMockRecorder) ByAddress ¶
func (mr *MockITxMockRecorder) ByAddress(ctx, addressId, fltrs any) *ITxByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockITxMockRecorder) ByHash ¶
func (mr *MockITxMockRecorder) ByHash(ctx, hash any) *ITxByHashCall
ByHash indicates an expected call of ByHash.
func (*MockITxMockRecorder) ByIdWithRelations ¶
func (mr *MockITxMockRecorder) ByIdWithRelations(ctx, id any) *ITxByIdWithRelationsCall
ByIdWithRelations indicates an expected call of ByIdWithRelations.
func (*MockITxMockRecorder) CursorList ¶
func (mr *MockITxMockRecorder) CursorList(ctx, id, limit, order, cmp any) *ITxCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockITxMockRecorder) Filter ¶
func (mr *MockITxMockRecorder) Filter(ctx, fltrs any) *ITxFilterCall
Filter indicates an expected call of Filter.
func (*MockITxMockRecorder) Gas ¶ added in v1.1.0
func (mr *MockITxMockRecorder) Gas(ctx, height any) *ITxGasCall
Gas indicates an expected call of Gas.
func (*MockITxMockRecorder) Genesis ¶
func (mr *MockITxMockRecorder) Genesis(ctx, limit, offset, sortOrder any) *ITxGenesisCall
Genesis indicates an expected call of Genesis.
func (*MockITxMockRecorder) GetByID ¶
func (mr *MockITxMockRecorder) GetByID(ctx, id any) *ITxGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockITxMockRecorder) IsNoRows ¶
func (mr *MockITxMockRecorder) IsNoRows(err any) *ITxIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockITxMockRecorder) LastID ¶
func (mr *MockITxMockRecorder) LastID(ctx any) *ITxLastIDCall
LastID indicates an expected call of LastID.
func (*MockITxMockRecorder) List ¶
func (mr *MockITxMockRecorder) List(ctx, limit, offset, order any) *ITxListCall
List indicates an expected call of List.
func (*MockITxMockRecorder) Save ¶
func (mr *MockITxMockRecorder) Save(ctx, m any) *ITxSaveCall
Save indicates an expected call of Save.
func (*MockITxMockRecorder) Update ¶
func (mr *MockITxMockRecorder) Update(ctx, m any) *ITxUpdateCall
Update indicates an expected call of Update.
type MockIValidator ¶
type MockIValidator struct {
// contains filtered or unexported fields
}
MockIValidator is a mock of IValidator interface.
func NewMockIValidator ¶
func NewMockIValidator(ctrl *gomock.Controller) *MockIValidator
NewMockIValidator creates a new mock instance.
func (*MockIValidator) CursorList ¶
func (m *MockIValidator) CursorList(ctx context.Context, id, limit uint64, order storage0.SortOrder, cmp storage0.Comparator) ([]*storage.Validator, error)
CursorList mocks base method.
func (*MockIValidator) EXPECT ¶
func (m *MockIValidator) EXPECT() *MockIValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIValidator) IsNoRows ¶
func (m *MockIValidator) IsNoRows(err error) bool
IsNoRows mocks base method.
func (*MockIValidator) LastID ¶
func (m *MockIValidator) LastID(ctx context.Context) (uint64, error)
LastID mocks base method.
func (*MockIValidator) List ¶
func (m *MockIValidator) List(ctx context.Context, limit, offset uint64, order storage0.SortOrder) ([]*storage.Validator, error)
List mocks base method.
type MockIValidatorMockRecorder ¶
type MockIValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockIValidatorMockRecorder is the mock recorder for MockIValidator.
func (*MockIValidatorMockRecorder) ByAddress ¶
func (mr *MockIValidatorMockRecorder) ByAddress(ctx, address any) *IValidatorByAddressCall
ByAddress indicates an expected call of ByAddress.
func (*MockIValidatorMockRecorder) CursorList ¶
func (mr *MockIValidatorMockRecorder) CursorList(ctx, id, limit, order, cmp any) *IValidatorCursorListCall
CursorList indicates an expected call of CursorList.
func (*MockIValidatorMockRecorder) GetByID ¶
func (mr *MockIValidatorMockRecorder) GetByID(ctx, id any) *IValidatorGetByIDCall
GetByID indicates an expected call of GetByID.
func (*MockIValidatorMockRecorder) IsNoRows ¶
func (mr *MockIValidatorMockRecorder) IsNoRows(err any) *IValidatorIsNoRowsCall
IsNoRows indicates an expected call of IsNoRows.
func (*MockIValidatorMockRecorder) LastID ¶
func (mr *MockIValidatorMockRecorder) LastID(ctx any) *IValidatorLastIDCall
LastID indicates an expected call of LastID.
func (*MockIValidatorMockRecorder) List ¶
func (mr *MockIValidatorMockRecorder) List(ctx, limit, offset, order any) *IValidatorListCall
List indicates an expected call of List.
func (*MockIValidatorMockRecorder) Save ¶
func (mr *MockIValidatorMockRecorder) Save(ctx, m any) *IValidatorSaveCall
Save indicates an expected call of Save.
func (*MockIValidatorMockRecorder) Update ¶
func (mr *MockIValidatorMockRecorder) Update(ctx, m any) *IValidatorUpdateCall
Update indicates an expected call of Update.
type MockListener ¶
type MockListener struct {
// contains filtered or unexported fields
}
MockListener is a mock of Listener interface.
func NewMockListener ¶
func NewMockListener(ctrl *gomock.Controller) *MockListener
NewMockListener creates a new mock instance.
func (*MockListener) EXPECT ¶
func (m *MockListener) EXPECT() *MockListenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockListener) Listen ¶
func (m *MockListener) Listen() chan *pq.Notification
Listen mocks base method.
type MockListenerFactory ¶
type MockListenerFactory struct {
// contains filtered or unexported fields
}
MockListenerFactory is a mock of ListenerFactory interface.
func NewMockListenerFactory ¶
func NewMockListenerFactory(ctrl *gomock.Controller) *MockListenerFactory
NewMockListenerFactory creates a new mock instance.
func (*MockListenerFactory) CreateListener ¶
func (m *MockListenerFactory) CreateListener() storage.Listener
CreateListener mocks base method.
func (*MockListenerFactory) EXPECT ¶
func (m *MockListenerFactory) EXPECT() *MockListenerFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockListenerFactoryMockRecorder ¶
type MockListenerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerFactoryMockRecorder is the mock recorder for MockListenerFactory.
func (*MockListenerFactoryMockRecorder) CreateListener ¶
func (mr *MockListenerFactoryMockRecorder) CreateListener() *ListenerFactoryCreateListenerCall
CreateListener indicates an expected call of CreateListener.
type MockListenerMockRecorder ¶
type MockListenerMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerMockRecorder is the mock recorder for MockListener.
func (*MockListenerMockRecorder) Close ¶
func (mr *MockListenerMockRecorder) Close() *ListenerCloseCall
Close indicates an expected call of Close.
func (*MockListenerMockRecorder) Listen ¶
func (mr *MockListenerMockRecorder) Listen() *ListenerListenCall
Listen indicates an expected call of Listen.
func (*MockListenerMockRecorder) Subscribe ¶
func (mr *MockListenerMockRecorder) Subscribe(ctx any, channels ...any) *ListenerSubscribeCall
Subscribe indicates an expected call of Subscribe.
type MockNotificator ¶
type MockNotificator struct {
// contains filtered or unexported fields
}
MockNotificator is a mock of Notificator interface.
func NewMockNotificator ¶
func NewMockNotificator(ctrl *gomock.Controller) *MockNotificator
NewMockNotificator creates a new mock instance.
func (*MockNotificator) EXPECT ¶
func (m *MockNotificator) EXPECT() *MockNotificatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNotificatorMockRecorder ¶
type MockNotificatorMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificatorMockRecorder is the mock recorder for MockNotificator.
func (*MockNotificatorMockRecorder) Notify ¶
func (mr *MockNotificatorMockRecorder) Notify(ctx, channel, payload any) *NotificatorNotifyCall
Notify indicates an expected call of Notify.
type MockTransaction ¶
type MockTransaction struct {
// contains filtered or unexported fields
}
MockTransaction is a mock of Transaction interface.
func NewMockTransaction ¶
func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction
NewMockTransaction creates a new mock instance.
func (*MockTransaction) Add ¶
func (m *MockTransaction) Add(ctx context.Context, model any) error
Add mocks base method.
func (*MockTransaction) BulkSave ¶
func (m *MockTransaction) BulkSave(ctx context.Context, models []any) error
BulkSave mocks base method.
func (*MockTransaction) Close ¶
func (m *MockTransaction) Close(ctx context.Context) error
Close mocks base method.
func (*MockTransaction) CopyFrom ¶
func (m *MockTransaction) CopyFrom(ctx context.Context, tableName string, data []storage0.Copiable) error
CopyFrom mocks base method.
func (*MockTransaction) DeleteBalances ¶
func (m *MockTransaction) DeleteBalances(ctx context.Context, ids []uint64) error
DeleteBalances mocks base method.
func (*MockTransaction) EXPECT ¶
func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransaction) Flush ¶
func (m *MockTransaction) Flush(ctx context.Context) error
Flush mocks base method.
func (*MockTransaction) GetProposerId ¶ added in v1.1.0
GetProposerId mocks base method.
func (*MockTransaction) HandleError ¶
func (m *MockTransaction) HandleError(ctx context.Context, err error) error
HandleError mocks base method.
func (*MockTransaction) LastAddressAction ¶
LastAddressAction mocks base method.
func (*MockTransaction) LastNamespaceMessage ¶ added in v1.1.0
func (m *MockTransaction) LastNamespaceMessage(ctx context.Context, nsId uint64) (storage.NamespaceMessage, error)
LastNamespaceMessage mocks base method.
func (*MockTransaction) Rollback ¶
func (m *MockTransaction) Rollback(ctx context.Context) error
Rollback mocks base method.
func (*MockTransaction) RollbackAddresses ¶
func (m *MockTransaction) RollbackAddresses(ctx context.Context, height types.Level) ([]storage.Address, error)
RollbackAddresses mocks base method.
func (*MockTransaction) RollbackBlock ¶
RollbackBlock mocks base method.
func (*MockTransaction) RollbackBlockStats ¶
func (m *MockTransaction) RollbackBlockStats(ctx context.Context, height types.Level) (storage.BlockStats, error)
RollbackBlockStats mocks base method.
func (*MockTransaction) RollbackEvents ¶
func (m *MockTransaction) RollbackEvents(ctx context.Context, height types.Level) ([]storage.Event, error)
RollbackEvents mocks base method.
func (*MockTransaction) RollbackMessageAddresses ¶
func (m *MockTransaction) RollbackMessageAddresses(ctx context.Context, msgIds []uint64) error
RollbackMessageAddresses mocks base method.
func (*MockTransaction) RollbackMessages ¶
func (m *MockTransaction) RollbackMessages(ctx context.Context, height types.Level) ([]storage.Message, error)
RollbackMessages mocks base method.
func (*MockTransaction) RollbackNamespaceMessages ¶
func (m *MockTransaction) RollbackNamespaceMessages(ctx context.Context, height types.Level) ([]storage.NamespaceMessage, error)
RollbackNamespaceMessages mocks base method.
func (*MockTransaction) RollbackNamespaces ¶
func (m *MockTransaction) RollbackNamespaces(ctx context.Context, height types.Level) ([]storage.Namespace, error)
RollbackNamespaces mocks base method.
func (*MockTransaction) RollbackSigners ¶
func (m *MockTransaction) RollbackSigners(ctx context.Context, txIds []uint64) error
RollbackSigners mocks base method.
func (*MockTransaction) RollbackTxs ¶
func (m *MockTransaction) RollbackTxs(ctx context.Context, height types.Level) ([]storage.Tx, error)
RollbackTxs mocks base method.
func (*MockTransaction) RollbackValidators ¶
RollbackValidators mocks base method.
func (*MockTransaction) SaveAddresses ¶
func (m *MockTransaction) SaveAddresses(ctx context.Context, addresses ...*storage.Address) (int64, error)
SaveAddresses mocks base method.
func (*MockTransaction) SaveBalances ¶
SaveBalances mocks base method.
func (*MockTransaction) SaveConstants ¶
SaveConstants mocks base method.
func (*MockTransaction) SaveEvents ¶
SaveEvents mocks base method.
func (*MockTransaction) SaveMessages ¶
SaveMessages mocks base method.
func (*MockTransaction) SaveMsgAddresses ¶
func (m *MockTransaction) SaveMsgAddresses(ctx context.Context, addresses ...storage.MsgAddress) error
SaveMsgAddresses mocks base method.
func (*MockTransaction) SaveNamespaceMessage ¶
func (m *MockTransaction) SaveNamespaceMessage(ctx context.Context, nsMsgs ...storage.NamespaceMessage) error
SaveNamespaceMessage mocks base method.
func (*MockTransaction) SaveNamespaces ¶
func (m *MockTransaction) SaveNamespaces(ctx context.Context, namespaces ...*storage.Namespace) (int64, error)
SaveNamespaces mocks base method.
func (*MockTransaction) SaveSigners ¶
SaveSigners mocks base method.
func (*MockTransaction) SaveTransactions ¶
SaveTransactions mocks base method.
func (*MockTransaction) SaveValidators ¶
func (m *MockTransaction) SaveValidators(ctx context.Context, validators ...*storage.Validator) error
SaveValidators mocks base method.
type MockTransactionMockRecorder ¶
type MockTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionMockRecorder is the mock recorder for MockTransaction.
func (*MockTransactionMockRecorder) Add ¶
func (mr *MockTransactionMockRecorder) Add(ctx, model any) *TransactionAddCall
Add indicates an expected call of Add.
func (*MockTransactionMockRecorder) BulkSave ¶
func (mr *MockTransactionMockRecorder) BulkSave(ctx, models any) *TransactionBulkSaveCall
BulkSave indicates an expected call of BulkSave.
func (*MockTransactionMockRecorder) Close ¶
func (mr *MockTransactionMockRecorder) Close(ctx any) *TransactionCloseCall
Close indicates an expected call of Close.
func (*MockTransactionMockRecorder) CopyFrom ¶
func (mr *MockTransactionMockRecorder) CopyFrom(ctx, tableName, data any) *TransactionCopyFromCall
CopyFrom indicates an expected call of CopyFrom.
func (*MockTransactionMockRecorder) DeleteBalances ¶
func (mr *MockTransactionMockRecorder) DeleteBalances(ctx, ids any) *TransactionDeleteBalancesCall
DeleteBalances indicates an expected call of DeleteBalances.
func (*MockTransactionMockRecorder) Exec ¶
func (mr *MockTransactionMockRecorder) Exec(ctx, query any, params ...any) *TransactionExecCall
Exec indicates an expected call of Exec.
func (*MockTransactionMockRecorder) Flush ¶
func (mr *MockTransactionMockRecorder) Flush(ctx any) *TransactionFlushCall
Flush indicates an expected call of Flush.
func (*MockTransactionMockRecorder) GetProposerId ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) GetProposerId(ctx, address any) *TransactionGetProposerIdCall
GetProposerId indicates an expected call of GetProposerId.
func (*MockTransactionMockRecorder) HandleError ¶
func (mr *MockTransactionMockRecorder) HandleError(ctx, err any) *TransactionHandleErrorCall
HandleError indicates an expected call of HandleError.
func (*MockTransactionMockRecorder) LastAddressAction ¶
func (mr *MockTransactionMockRecorder) LastAddressAction(ctx, address any) *TransactionLastAddressActionCall
LastAddressAction indicates an expected call of LastAddressAction.
func (*MockTransactionMockRecorder) LastBlock ¶
func (mr *MockTransactionMockRecorder) LastBlock(ctx any) *TransactionLastBlockCall
LastBlock indicates an expected call of LastBlock.
func (*MockTransactionMockRecorder) LastNamespaceMessage ¶ added in v1.1.0
func (mr *MockTransactionMockRecorder) LastNamespaceMessage(ctx, nsId any) *TransactionLastNamespaceMessageCall
LastNamespaceMessage indicates an expected call of LastNamespaceMessage.
func (*MockTransactionMockRecorder) Namespace ¶
func (mr *MockTransactionMockRecorder) Namespace(ctx, id any) *TransactionNamespaceCall
Namespace indicates an expected call of Namespace.
func (*MockTransactionMockRecorder) Rollback ¶
func (mr *MockTransactionMockRecorder) Rollback(ctx any) *TransactionRollbackCall
Rollback indicates an expected call of Rollback.
func (*MockTransactionMockRecorder) RollbackAddresses ¶
func (mr *MockTransactionMockRecorder) RollbackAddresses(ctx, height any) *TransactionRollbackAddressesCall
RollbackAddresses indicates an expected call of RollbackAddresses.
func (*MockTransactionMockRecorder) RollbackBlock ¶
func (mr *MockTransactionMockRecorder) RollbackBlock(ctx, height any) *TransactionRollbackBlockCall
RollbackBlock indicates an expected call of RollbackBlock.
func (*MockTransactionMockRecorder) RollbackBlockStats ¶
func (mr *MockTransactionMockRecorder) RollbackBlockStats(ctx, height any) *TransactionRollbackBlockStatsCall
RollbackBlockStats indicates an expected call of RollbackBlockStats.
func (*MockTransactionMockRecorder) RollbackEvents ¶
func (mr *MockTransactionMockRecorder) RollbackEvents(ctx, height any) *TransactionRollbackEventsCall
RollbackEvents indicates an expected call of RollbackEvents.
func (*MockTransactionMockRecorder) RollbackMessageAddresses ¶
func (mr *MockTransactionMockRecorder) RollbackMessageAddresses(ctx, msgIds any) *TransactionRollbackMessageAddressesCall
RollbackMessageAddresses indicates an expected call of RollbackMessageAddresses.
func (*MockTransactionMockRecorder) RollbackMessages ¶
func (mr *MockTransactionMockRecorder) RollbackMessages(ctx, height any) *TransactionRollbackMessagesCall
RollbackMessages indicates an expected call of RollbackMessages.
func (*MockTransactionMockRecorder) RollbackNamespaceMessages ¶
func (mr *MockTransactionMockRecorder) RollbackNamespaceMessages(ctx, height any) *TransactionRollbackNamespaceMessagesCall
RollbackNamespaceMessages indicates an expected call of RollbackNamespaceMessages.
func (*MockTransactionMockRecorder) RollbackNamespaces ¶
func (mr *MockTransactionMockRecorder) RollbackNamespaces(ctx, height any) *TransactionRollbackNamespacesCall
RollbackNamespaces indicates an expected call of RollbackNamespaces.
func (*MockTransactionMockRecorder) RollbackSigners ¶
func (mr *MockTransactionMockRecorder) RollbackSigners(ctx, txIds any) *TransactionRollbackSignersCall
RollbackSigners indicates an expected call of RollbackSigners.
func (*MockTransactionMockRecorder) RollbackTxs ¶
func (mr *MockTransactionMockRecorder) RollbackTxs(ctx, height any) *TransactionRollbackTxsCall
RollbackTxs indicates an expected call of RollbackTxs.
func (*MockTransactionMockRecorder) RollbackValidators ¶
func (mr *MockTransactionMockRecorder) RollbackValidators(ctx, height any) *TransactionRollbackValidatorsCall
RollbackValidators indicates an expected call of RollbackValidators.
func (*MockTransactionMockRecorder) SaveAddresses ¶
func (mr *MockTransactionMockRecorder) SaveAddresses(ctx any, addresses ...any) *TransactionSaveAddressesCall
SaveAddresses indicates an expected call of SaveAddresses.
func (*MockTransactionMockRecorder) SaveBalances ¶
func (mr *MockTransactionMockRecorder) SaveBalances(ctx any, balances ...any) *TransactionSaveBalancesCall
SaveBalances indicates an expected call of SaveBalances.
func (*MockTransactionMockRecorder) SaveConstants ¶
func (mr *MockTransactionMockRecorder) SaveConstants(ctx any, constants ...any) *TransactionSaveConstantsCall
SaveConstants indicates an expected call of SaveConstants.
func (*MockTransactionMockRecorder) SaveEvents ¶
func (mr *MockTransactionMockRecorder) SaveEvents(ctx any, events ...any) *TransactionSaveEventsCall
SaveEvents indicates an expected call of SaveEvents.
func (*MockTransactionMockRecorder) SaveMessages ¶
func (mr *MockTransactionMockRecorder) SaveMessages(ctx any, msgs ...any) *TransactionSaveMessagesCall
SaveMessages indicates an expected call of SaveMessages.
func (*MockTransactionMockRecorder) SaveMsgAddresses ¶
func (mr *MockTransactionMockRecorder) SaveMsgAddresses(ctx any, addresses ...any) *TransactionSaveMsgAddressesCall
SaveMsgAddresses indicates an expected call of SaveMsgAddresses.
func (*MockTransactionMockRecorder) SaveNamespaceMessage ¶
func (mr *MockTransactionMockRecorder) SaveNamespaceMessage(ctx any, nsMsgs ...any) *TransactionSaveNamespaceMessageCall
SaveNamespaceMessage indicates an expected call of SaveNamespaceMessage.
func (*MockTransactionMockRecorder) SaveNamespaces ¶
func (mr *MockTransactionMockRecorder) SaveNamespaces(ctx any, namespaces ...any) *TransactionSaveNamespacesCall
SaveNamespaces indicates an expected call of SaveNamespaces.
func (*MockTransactionMockRecorder) SaveSigners ¶
func (mr *MockTransactionMockRecorder) SaveSigners(ctx any, addresses ...any) *TransactionSaveSignersCall
SaveSigners indicates an expected call of SaveSigners.
func (*MockTransactionMockRecorder) SaveTransactions ¶
func (mr *MockTransactionMockRecorder) SaveTransactions(ctx any, txs ...any) *TransactionSaveTransactionsCall
SaveTransactions indicates an expected call of SaveTransactions.
func (*MockTransactionMockRecorder) SaveValidators ¶
func (mr *MockTransactionMockRecorder) SaveValidators(ctx any, validators ...any) *TransactionSaveValidatorsCall
SaveValidators indicates an expected call of SaveValidators.
func (*MockTransactionMockRecorder) State ¶
func (mr *MockTransactionMockRecorder) State(ctx, name any) *TransactionStateCall
State indicates an expected call of State.
func (*MockTransactionMockRecorder) Tx ¶
func (mr *MockTransactionMockRecorder) Tx() *TransactionTxCall
Tx indicates an expected call of Tx.
func (*MockTransactionMockRecorder) Update ¶
func (mr *MockTransactionMockRecorder) Update(ctx, model any) *TransactionUpdateCall
Update indicates an expected call of Update.
type NotificatorNotifyCall ¶
NotificatorNotifyCall wrap *gomock.Call
func (*NotificatorNotifyCall) Do ¶
func (c *NotificatorNotifyCall) Do(f func(context.Context, string, string) error) *NotificatorNotifyCall
Do rewrite *gomock.Call.Do
func (*NotificatorNotifyCall) DoAndReturn ¶
func (c *NotificatorNotifyCall) DoAndReturn(f func(context.Context, string, string) error) *NotificatorNotifyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*NotificatorNotifyCall) Return ¶
func (c *NotificatorNotifyCall) Return(arg0 error) *NotificatorNotifyCall
Return rewrite *gomock.Call.Return
type Storage ¶
type Storage struct { Blocks models.IBlock Tx models.ITx Message models.IMessage Event models.IEvent Address models.IAddress Namespace models.INamespace State models.IState // contains filtered or unexported fields }
func Create ¶
func Create(t gomock.TestReporter) Storage
func (Storage) Ctrl ¶
func (s Storage) Ctrl() *gomock.Controller
type TransactionAddCall ¶
TransactionAddCall wrap *gomock.Call
func (*TransactionAddCall) Do ¶
func (c *TransactionAddCall) Do(f func(context.Context, any) error) *TransactionAddCall
Do rewrite *gomock.Call.Do
func (*TransactionAddCall) DoAndReturn ¶
func (c *TransactionAddCall) DoAndReturn(f func(context.Context, any) error) *TransactionAddCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionAddCall) Return ¶
func (c *TransactionAddCall) Return(arg0 error) *TransactionAddCall
Return rewrite *gomock.Call.Return
type TransactionBulkSaveCall ¶
TransactionBulkSaveCall wrap *gomock.Call
func (*TransactionBulkSaveCall) Do ¶
func (c *TransactionBulkSaveCall) Do(f func(context.Context, []any) error) *TransactionBulkSaveCall
Do rewrite *gomock.Call.Do
func (*TransactionBulkSaveCall) DoAndReturn ¶
func (c *TransactionBulkSaveCall) DoAndReturn(f func(context.Context, []any) error) *TransactionBulkSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionBulkSaveCall) Return ¶
func (c *TransactionBulkSaveCall) Return(arg0 error) *TransactionBulkSaveCall
Return rewrite *gomock.Call.Return
type TransactionCloseCall ¶
TransactionCloseCall wrap *gomock.Call
func (*TransactionCloseCall) Do ¶
func (c *TransactionCloseCall) Do(f func(context.Context) error) *TransactionCloseCall
Do rewrite *gomock.Call.Do
func (*TransactionCloseCall) DoAndReturn ¶
func (c *TransactionCloseCall) DoAndReturn(f func(context.Context) error) *TransactionCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionCloseCall) Return ¶
func (c *TransactionCloseCall) Return(arg0 error) *TransactionCloseCall
Return rewrite *gomock.Call.Return
type TransactionCopyFromCall ¶
TransactionCopyFromCall wrap *gomock.Call
func (*TransactionCopyFromCall) Do ¶
func (c *TransactionCopyFromCall) Do(f func(context.Context, string, []storage0.Copiable) error) *TransactionCopyFromCall
Do rewrite *gomock.Call.Do
func (*TransactionCopyFromCall) DoAndReturn ¶
func (c *TransactionCopyFromCall) DoAndReturn(f func(context.Context, string, []storage0.Copiable) error) *TransactionCopyFromCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionCopyFromCall) Return ¶
func (c *TransactionCopyFromCall) Return(arg0 error) *TransactionCopyFromCall
Return rewrite *gomock.Call.Return
type TransactionDeleteBalancesCall ¶
TransactionDeleteBalancesCall wrap *gomock.Call
func (*TransactionDeleteBalancesCall) Do ¶
func (c *TransactionDeleteBalancesCall) Do(f func(context.Context, []uint64) error) *TransactionDeleteBalancesCall
Do rewrite *gomock.Call.Do
func (*TransactionDeleteBalancesCall) DoAndReturn ¶
func (c *TransactionDeleteBalancesCall) DoAndReturn(f func(context.Context, []uint64) error) *TransactionDeleteBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionDeleteBalancesCall) Return ¶
func (c *TransactionDeleteBalancesCall) Return(arg0 error) *TransactionDeleteBalancesCall
Return rewrite *gomock.Call.Return
type TransactionExecCall ¶
TransactionExecCall wrap *gomock.Call
func (*TransactionExecCall) Do ¶
func (c *TransactionExecCall) Do(f func(context.Context, string, ...any) (int64, error)) *TransactionExecCall
Do rewrite *gomock.Call.Do
func (*TransactionExecCall) DoAndReturn ¶
func (c *TransactionExecCall) DoAndReturn(f func(context.Context, string, ...any) (int64, error)) *TransactionExecCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionExecCall) Return ¶
func (c *TransactionExecCall) Return(arg0 int64, arg1 error) *TransactionExecCall
Return rewrite *gomock.Call.Return
type TransactionFlushCall ¶
TransactionFlushCall wrap *gomock.Call
func (*TransactionFlushCall) Do ¶
func (c *TransactionFlushCall) Do(f func(context.Context) error) *TransactionFlushCall
Do rewrite *gomock.Call.Do
func (*TransactionFlushCall) DoAndReturn ¶
func (c *TransactionFlushCall) DoAndReturn(f func(context.Context) error) *TransactionFlushCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionFlushCall) Return ¶
func (c *TransactionFlushCall) Return(arg0 error) *TransactionFlushCall
Return rewrite *gomock.Call.Return
type TransactionGetProposerIdCall ¶ added in v1.1.0
TransactionGetProposerIdCall wrap *gomock.Call
func (*TransactionGetProposerIdCall) Do ¶ added in v1.1.0
func (c *TransactionGetProposerIdCall) Do(f func(context.Context, string) (uint64, error)) *TransactionGetProposerIdCall
Do rewrite *gomock.Call.Do
func (*TransactionGetProposerIdCall) DoAndReturn ¶ added in v1.1.0
func (c *TransactionGetProposerIdCall) DoAndReturn(f func(context.Context, string) (uint64, error)) *TransactionGetProposerIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionGetProposerIdCall) Return ¶ added in v1.1.0
func (c *TransactionGetProposerIdCall) Return(arg0 uint64, arg1 error) *TransactionGetProposerIdCall
Return rewrite *gomock.Call.Return
type TransactionHandleErrorCall ¶
TransactionHandleErrorCall wrap *gomock.Call
func (*TransactionHandleErrorCall) Do ¶
func (c *TransactionHandleErrorCall) Do(f func(context.Context, error) error) *TransactionHandleErrorCall
Do rewrite *gomock.Call.Do
func (*TransactionHandleErrorCall) DoAndReturn ¶
func (c *TransactionHandleErrorCall) DoAndReturn(f func(context.Context, error) error) *TransactionHandleErrorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionHandleErrorCall) Return ¶
func (c *TransactionHandleErrorCall) Return(arg0 error) *TransactionHandleErrorCall
Return rewrite *gomock.Call.Return
type TransactionLastAddressActionCall ¶
TransactionLastAddressActionCall wrap *gomock.Call
func (*TransactionLastAddressActionCall) Do ¶
func (c *TransactionLastAddressActionCall) Do(f func(context.Context, []byte) (uint64, error)) *TransactionLastAddressActionCall
Do rewrite *gomock.Call.Do
func (*TransactionLastAddressActionCall) DoAndReturn ¶
func (c *TransactionLastAddressActionCall) DoAndReturn(f func(context.Context, []byte) (uint64, error)) *TransactionLastAddressActionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionLastAddressActionCall) Return ¶
func (c *TransactionLastAddressActionCall) Return(arg0 uint64, arg1 error) *TransactionLastAddressActionCall
Return rewrite *gomock.Call.Return
type TransactionLastBlockCall ¶
TransactionLastBlockCall wrap *gomock.Call
func (*TransactionLastBlockCall) Do ¶
func (c *TransactionLastBlockCall) Do(f func(context.Context) (storage.Block, error)) *TransactionLastBlockCall
Do rewrite *gomock.Call.Do
func (*TransactionLastBlockCall) DoAndReturn ¶
func (c *TransactionLastBlockCall) DoAndReturn(f func(context.Context) (storage.Block, error)) *TransactionLastBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionLastBlockCall) Return ¶
func (c *TransactionLastBlockCall) Return(block storage.Block, err error) *TransactionLastBlockCall
Return rewrite *gomock.Call.Return
type TransactionLastNamespaceMessageCall ¶ added in v1.1.0
TransactionLastNamespaceMessageCall wrap *gomock.Call
func (*TransactionLastNamespaceMessageCall) Do ¶ added in v1.1.0
func (c *TransactionLastNamespaceMessageCall) Do(f func(context.Context, uint64) (storage.NamespaceMessage, error)) *TransactionLastNamespaceMessageCall
Do rewrite *gomock.Call.Do
func (*TransactionLastNamespaceMessageCall) DoAndReturn ¶ added in v1.1.0
func (c *TransactionLastNamespaceMessageCall) DoAndReturn(f func(context.Context, uint64) (storage.NamespaceMessage, error)) *TransactionLastNamespaceMessageCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionLastNamespaceMessageCall) Return ¶ added in v1.1.0
func (c *TransactionLastNamespaceMessageCall) Return(msg storage.NamespaceMessage, err error) *TransactionLastNamespaceMessageCall
Return rewrite *gomock.Call.Return
type TransactionNamespaceCall ¶
TransactionNamespaceCall wrap *gomock.Call
func (*TransactionNamespaceCall) Do ¶
func (c *TransactionNamespaceCall) Do(f func(context.Context, uint64) (storage.Namespace, error)) *TransactionNamespaceCall
Do rewrite *gomock.Call.Do
func (*TransactionNamespaceCall) DoAndReturn ¶
func (c *TransactionNamespaceCall) DoAndReturn(f func(context.Context, uint64) (storage.Namespace, error)) *TransactionNamespaceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionNamespaceCall) Return ¶
func (c *TransactionNamespaceCall) Return(ns storage.Namespace, err error) *TransactionNamespaceCall
Return rewrite *gomock.Call.Return
type TransactionRollbackAddressesCall ¶
TransactionRollbackAddressesCall wrap *gomock.Call
func (*TransactionRollbackAddressesCall) Do ¶
func (c *TransactionRollbackAddressesCall) Do(f func(context.Context, types.Level) ([]storage.Address, error)) *TransactionRollbackAddressesCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackAddressesCall) DoAndReturn ¶
func (c *TransactionRollbackAddressesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Address, error)) *TransactionRollbackAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackAddressesCall) Return ¶
func (c *TransactionRollbackAddressesCall) Return(address []storage.Address, err error) *TransactionRollbackAddressesCall
Return rewrite *gomock.Call.Return
type TransactionRollbackBlockCall ¶
TransactionRollbackBlockCall wrap *gomock.Call
func (*TransactionRollbackBlockCall) Do ¶
func (c *TransactionRollbackBlockCall) Do(f func(context.Context, types.Level) error) *TransactionRollbackBlockCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackBlockCall) DoAndReturn ¶
func (c *TransactionRollbackBlockCall) DoAndReturn(f func(context.Context, types.Level) error) *TransactionRollbackBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackBlockCall) Return ¶
func (c *TransactionRollbackBlockCall) Return(arg0 error) *TransactionRollbackBlockCall
Return rewrite *gomock.Call.Return
type TransactionRollbackBlockStatsCall ¶
TransactionRollbackBlockStatsCall wrap *gomock.Call
func (*TransactionRollbackBlockStatsCall) Do ¶
func (c *TransactionRollbackBlockStatsCall) Do(f func(context.Context, types.Level) (storage.BlockStats, error)) *TransactionRollbackBlockStatsCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackBlockStatsCall) DoAndReturn ¶
func (c *TransactionRollbackBlockStatsCall) DoAndReturn(f func(context.Context, types.Level) (storage.BlockStats, error)) *TransactionRollbackBlockStatsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackBlockStatsCall) Return ¶
func (c *TransactionRollbackBlockStatsCall) Return(stats storage.BlockStats, err error) *TransactionRollbackBlockStatsCall
Return rewrite *gomock.Call.Return
type TransactionRollbackCall ¶
TransactionRollbackCall wrap *gomock.Call
func (*TransactionRollbackCall) Do ¶
func (c *TransactionRollbackCall) Do(f func(context.Context) error) *TransactionRollbackCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackCall) DoAndReturn ¶
func (c *TransactionRollbackCall) DoAndReturn(f func(context.Context) error) *TransactionRollbackCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackCall) Return ¶
func (c *TransactionRollbackCall) Return(arg0 error) *TransactionRollbackCall
Return rewrite *gomock.Call.Return
type TransactionRollbackEventsCall ¶
TransactionRollbackEventsCall wrap *gomock.Call
func (*TransactionRollbackEventsCall) Do ¶
func (c *TransactionRollbackEventsCall) Do(f func(context.Context, types.Level) ([]storage.Event, error)) *TransactionRollbackEventsCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackEventsCall) DoAndReturn ¶
func (c *TransactionRollbackEventsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Event, error)) *TransactionRollbackEventsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackEventsCall) Return ¶
func (c *TransactionRollbackEventsCall) Return(events []storage.Event, err error) *TransactionRollbackEventsCall
Return rewrite *gomock.Call.Return
type TransactionRollbackMessageAddressesCall ¶
TransactionRollbackMessageAddressesCall wrap *gomock.Call
func (*TransactionRollbackMessageAddressesCall) Do ¶
func (c *TransactionRollbackMessageAddressesCall) Do(f func(context.Context, []uint64) error) *TransactionRollbackMessageAddressesCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackMessageAddressesCall) DoAndReturn ¶
func (c *TransactionRollbackMessageAddressesCall) DoAndReturn(f func(context.Context, []uint64) error) *TransactionRollbackMessageAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackMessageAddressesCall) Return ¶
func (c *TransactionRollbackMessageAddressesCall) Return(err error) *TransactionRollbackMessageAddressesCall
Return rewrite *gomock.Call.Return
type TransactionRollbackMessagesCall ¶
TransactionRollbackMessagesCall wrap *gomock.Call
func (*TransactionRollbackMessagesCall) Do ¶
func (c *TransactionRollbackMessagesCall) Do(f func(context.Context, types.Level) ([]storage.Message, error)) *TransactionRollbackMessagesCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackMessagesCall) DoAndReturn ¶
func (c *TransactionRollbackMessagesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Message, error)) *TransactionRollbackMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackMessagesCall) Return ¶
func (c *TransactionRollbackMessagesCall) Return(msgs []storage.Message, err error) *TransactionRollbackMessagesCall
Return rewrite *gomock.Call.Return
type TransactionRollbackNamespaceMessagesCall ¶
TransactionRollbackNamespaceMessagesCall wrap *gomock.Call
func (*TransactionRollbackNamespaceMessagesCall) Do ¶
func (c *TransactionRollbackNamespaceMessagesCall) Do(f func(context.Context, types.Level) ([]storage.NamespaceMessage, error)) *TransactionRollbackNamespaceMessagesCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackNamespaceMessagesCall) DoAndReturn ¶
func (c *TransactionRollbackNamespaceMessagesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.NamespaceMessage, error)) *TransactionRollbackNamespaceMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackNamespaceMessagesCall) Return ¶
func (c *TransactionRollbackNamespaceMessagesCall) Return(msgs []storage.NamespaceMessage, err error) *TransactionRollbackNamespaceMessagesCall
Return rewrite *gomock.Call.Return
type TransactionRollbackNamespacesCall ¶
TransactionRollbackNamespacesCall wrap *gomock.Call
func (*TransactionRollbackNamespacesCall) Do ¶
func (c *TransactionRollbackNamespacesCall) Do(f func(context.Context, types.Level) ([]storage.Namespace, error)) *TransactionRollbackNamespacesCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackNamespacesCall) DoAndReturn ¶
func (c *TransactionRollbackNamespacesCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Namespace, error)) *TransactionRollbackNamespacesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackNamespacesCall) Return ¶
func (c *TransactionRollbackNamespacesCall) Return(ns []storage.Namespace, err error) *TransactionRollbackNamespacesCall
Return rewrite *gomock.Call.Return
type TransactionRollbackSignersCall ¶
TransactionRollbackSignersCall wrap *gomock.Call
func (*TransactionRollbackSignersCall) Do ¶
func (c *TransactionRollbackSignersCall) Do(f func(context.Context, []uint64) error) *TransactionRollbackSignersCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackSignersCall) DoAndReturn ¶
func (c *TransactionRollbackSignersCall) DoAndReturn(f func(context.Context, []uint64) error) *TransactionRollbackSignersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackSignersCall) Return ¶
func (c *TransactionRollbackSignersCall) Return(err error) *TransactionRollbackSignersCall
Return rewrite *gomock.Call.Return
type TransactionRollbackTxsCall ¶
TransactionRollbackTxsCall wrap *gomock.Call
func (*TransactionRollbackTxsCall) Do ¶
func (c *TransactionRollbackTxsCall) Do(f func(context.Context, types.Level) ([]storage.Tx, error)) *TransactionRollbackTxsCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackTxsCall) DoAndReturn ¶
func (c *TransactionRollbackTxsCall) DoAndReturn(f func(context.Context, types.Level) ([]storage.Tx, error)) *TransactionRollbackTxsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackTxsCall) Return ¶
func (c *TransactionRollbackTxsCall) Return(txs []storage.Tx, err error) *TransactionRollbackTxsCall
Return rewrite *gomock.Call.Return
type TransactionRollbackValidatorsCall ¶
TransactionRollbackValidatorsCall wrap *gomock.Call
func (*TransactionRollbackValidatorsCall) Do ¶
func (c *TransactionRollbackValidatorsCall) Do(f func(context.Context, types.Level) error) *TransactionRollbackValidatorsCall
Do rewrite *gomock.Call.Do
func (*TransactionRollbackValidatorsCall) DoAndReturn ¶
func (c *TransactionRollbackValidatorsCall) DoAndReturn(f func(context.Context, types.Level) error) *TransactionRollbackValidatorsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionRollbackValidatorsCall) Return ¶
func (c *TransactionRollbackValidatorsCall) Return(err error) *TransactionRollbackValidatorsCall
Return rewrite *gomock.Call.Return
type TransactionSaveAddressesCall ¶
TransactionSaveAddressesCall wrap *gomock.Call
func (*TransactionSaveAddressesCall) Do ¶
func (c *TransactionSaveAddressesCall) Do(f func(context.Context, ...*storage.Address) (int64, error)) *TransactionSaveAddressesCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveAddressesCall) DoAndReturn ¶
func (c *TransactionSaveAddressesCall) DoAndReturn(f func(context.Context, ...*storage.Address) (int64, error)) *TransactionSaveAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveAddressesCall) Return ¶
func (c *TransactionSaveAddressesCall) Return(arg0 int64, arg1 error) *TransactionSaveAddressesCall
Return rewrite *gomock.Call.Return
type TransactionSaveBalancesCall ¶
TransactionSaveBalancesCall wrap *gomock.Call
func (*TransactionSaveBalancesCall) Do ¶
func (c *TransactionSaveBalancesCall) Do(f func(context.Context, ...storage.Balance) error) *TransactionSaveBalancesCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveBalancesCall) DoAndReturn ¶
func (c *TransactionSaveBalancesCall) DoAndReturn(f func(context.Context, ...storage.Balance) error) *TransactionSaveBalancesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveBalancesCall) Return ¶
func (c *TransactionSaveBalancesCall) Return(arg0 error) *TransactionSaveBalancesCall
Return rewrite *gomock.Call.Return
type TransactionSaveConstantsCall ¶
TransactionSaveConstantsCall wrap *gomock.Call
func (*TransactionSaveConstantsCall) Do ¶
func (c *TransactionSaveConstantsCall) Do(f func(context.Context, ...storage.Constant) error) *TransactionSaveConstantsCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveConstantsCall) DoAndReturn ¶
func (c *TransactionSaveConstantsCall) DoAndReturn(f func(context.Context, ...storage.Constant) error) *TransactionSaveConstantsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveConstantsCall) Return ¶
func (c *TransactionSaveConstantsCall) Return(arg0 error) *TransactionSaveConstantsCall
Return rewrite *gomock.Call.Return
type TransactionSaveEventsCall ¶
TransactionSaveEventsCall wrap *gomock.Call
func (*TransactionSaveEventsCall) Do ¶
func (c *TransactionSaveEventsCall) Do(f func(context.Context, ...storage.Event) error) *TransactionSaveEventsCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveEventsCall) DoAndReturn ¶
func (c *TransactionSaveEventsCall) DoAndReturn(f func(context.Context, ...storage.Event) error) *TransactionSaveEventsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveEventsCall) Return ¶
func (c *TransactionSaveEventsCall) Return(arg0 error) *TransactionSaveEventsCall
Return rewrite *gomock.Call.Return
type TransactionSaveMessagesCall ¶
TransactionSaveMessagesCall wrap *gomock.Call
func (*TransactionSaveMessagesCall) Do ¶
func (c *TransactionSaveMessagesCall) Do(f func(context.Context, ...*storage.Message) error) *TransactionSaveMessagesCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveMessagesCall) DoAndReturn ¶
func (c *TransactionSaveMessagesCall) DoAndReturn(f func(context.Context, ...*storage.Message) error) *TransactionSaveMessagesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveMessagesCall) Return ¶
func (c *TransactionSaveMessagesCall) Return(arg0 error) *TransactionSaveMessagesCall
Return rewrite *gomock.Call.Return
type TransactionSaveMsgAddressesCall ¶
TransactionSaveMsgAddressesCall wrap *gomock.Call
func (*TransactionSaveMsgAddressesCall) Do ¶
func (c *TransactionSaveMsgAddressesCall) Do(f func(context.Context, ...storage.MsgAddress) error) *TransactionSaveMsgAddressesCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveMsgAddressesCall) DoAndReturn ¶
func (c *TransactionSaveMsgAddressesCall) DoAndReturn(f func(context.Context, ...storage.MsgAddress) error) *TransactionSaveMsgAddressesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveMsgAddressesCall) Return ¶
func (c *TransactionSaveMsgAddressesCall) Return(arg0 error) *TransactionSaveMsgAddressesCall
Return rewrite *gomock.Call.Return
type TransactionSaveNamespaceMessageCall ¶
TransactionSaveNamespaceMessageCall wrap *gomock.Call
func (*TransactionSaveNamespaceMessageCall) Do ¶
func (c *TransactionSaveNamespaceMessageCall) Do(f func(context.Context, ...storage.NamespaceMessage) error) *TransactionSaveNamespaceMessageCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveNamespaceMessageCall) DoAndReturn ¶
func (c *TransactionSaveNamespaceMessageCall) DoAndReturn(f func(context.Context, ...storage.NamespaceMessage) error) *TransactionSaveNamespaceMessageCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveNamespaceMessageCall) Return ¶
func (c *TransactionSaveNamespaceMessageCall) Return(arg0 error) *TransactionSaveNamespaceMessageCall
Return rewrite *gomock.Call.Return
type TransactionSaveNamespacesCall ¶
TransactionSaveNamespacesCall wrap *gomock.Call
func (*TransactionSaveNamespacesCall) Do ¶
func (c *TransactionSaveNamespacesCall) Do(f func(context.Context, ...*storage.Namespace) (int64, error)) *TransactionSaveNamespacesCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveNamespacesCall) DoAndReturn ¶
func (c *TransactionSaveNamespacesCall) DoAndReturn(f func(context.Context, ...*storage.Namespace) (int64, error)) *TransactionSaveNamespacesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveNamespacesCall) Return ¶
func (c *TransactionSaveNamespacesCall) Return(arg0 int64, arg1 error) *TransactionSaveNamespacesCall
Return rewrite *gomock.Call.Return
type TransactionSaveSignersCall ¶
TransactionSaveSignersCall wrap *gomock.Call
func (*TransactionSaveSignersCall) Do ¶
func (c *TransactionSaveSignersCall) Do(f func(context.Context, ...storage.Signer) error) *TransactionSaveSignersCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveSignersCall) DoAndReturn ¶
func (c *TransactionSaveSignersCall) DoAndReturn(f func(context.Context, ...storage.Signer) error) *TransactionSaveSignersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveSignersCall) Return ¶
func (c *TransactionSaveSignersCall) Return(arg0 error) *TransactionSaveSignersCall
Return rewrite *gomock.Call.Return
type TransactionSaveTransactionsCall ¶
TransactionSaveTransactionsCall wrap *gomock.Call
func (*TransactionSaveTransactionsCall) Do ¶
func (c *TransactionSaveTransactionsCall) Do(f func(context.Context, ...storage.Tx) error) *TransactionSaveTransactionsCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveTransactionsCall) DoAndReturn ¶
func (c *TransactionSaveTransactionsCall) DoAndReturn(f func(context.Context, ...storage.Tx) error) *TransactionSaveTransactionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveTransactionsCall) Return ¶
func (c *TransactionSaveTransactionsCall) Return(arg0 error) *TransactionSaveTransactionsCall
Return rewrite *gomock.Call.Return
type TransactionSaveValidatorsCall ¶
TransactionSaveValidatorsCall wrap *gomock.Call
func (*TransactionSaveValidatorsCall) Do ¶
func (c *TransactionSaveValidatorsCall) Do(f func(context.Context, ...*storage.Validator) error) *TransactionSaveValidatorsCall
Do rewrite *gomock.Call.Do
func (*TransactionSaveValidatorsCall) DoAndReturn ¶
func (c *TransactionSaveValidatorsCall) DoAndReturn(f func(context.Context, ...*storage.Validator) error) *TransactionSaveValidatorsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionSaveValidatorsCall) Return ¶
func (c *TransactionSaveValidatorsCall) Return(arg0 error) *TransactionSaveValidatorsCall
Return rewrite *gomock.Call.Return
type TransactionStateCall ¶
TransactionStateCall wrap *gomock.Call
func (*TransactionStateCall) Do ¶
func (c *TransactionStateCall) Do(f func(context.Context, string) (storage.State, error)) *TransactionStateCall
Do rewrite *gomock.Call.Do
func (*TransactionStateCall) DoAndReturn ¶
func (c *TransactionStateCall) DoAndReturn(f func(context.Context, string) (storage.State, error)) *TransactionStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionStateCall) Return ¶
func (c *TransactionStateCall) Return(state storage.State, err error) *TransactionStateCall
Return rewrite *gomock.Call.Return
type TransactionTxCall ¶
TransactionTxCall wrap *gomock.Call
func (*TransactionTxCall) Do ¶
func (c *TransactionTxCall) Do(f func() *bun.Tx) *TransactionTxCall
Do rewrite *gomock.Call.Do
func (*TransactionTxCall) DoAndReturn ¶
func (c *TransactionTxCall) DoAndReturn(f func() *bun.Tx) *TransactionTxCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionTxCall) Return ¶
func (c *TransactionTxCall) Return(arg0 *bun.Tx) *TransactionTxCall
Return rewrite *gomock.Call.Return
type TransactionUpdateCall ¶
TransactionUpdateCall wrap *gomock.Call
func (*TransactionUpdateCall) Do ¶
func (c *TransactionUpdateCall) Do(f func(context.Context, any) error) *TransactionUpdateCall
Do rewrite *gomock.Call.Do
func (*TransactionUpdateCall) DoAndReturn ¶
func (c *TransactionUpdateCall) DoAndReturn(f func(context.Context, any) error) *TransactionUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*TransactionUpdateCall) Return ¶
func (c *TransactionUpdateCall) Return(arg0 error) *TransactionUpdateCall
Return rewrite *gomock.Call.Return