Documentation ¶
Index ¶
- type BlockStorageHelper
- type FetcherHelper
- func (_m *FetcherHelper) AccountBalanceRetry(ctx context.Context, network *types.NetworkIdentifier, ...) (*types.BlockIdentifier, []*types.Amount, map[string]interface{}, ...)
- func (_m *FetcherHelper) AccountCoinsRetry(ctx context.Context, network *types.NetworkIdentifier, ...) (*types.BlockIdentifier, []*types.Coin, map[string]interface{}, *fetcher.Error)
- func (_m *FetcherHelper) NetworkList(ctx context.Context, metadata map[string]interface{}) (*types.NetworkListResponse, *fetcher.Error)
- func (_m *FetcherHelper) NetworkStatusRetry(ctx context.Context, network *types.NetworkIdentifier, ...) (*types.NetworkStatusResponse, *fetcher.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockStorageHelper ¶
BlockStorageHelper is an autogenerated mock type for the BlockStorageHelper type
func NewBlockStorageHelper ¶
func NewBlockStorageHelper(t mockConstructorTestingTNewBlockStorageHelper) *BlockStorageHelper
NewBlockStorageHelper creates a new instance of BlockStorageHelper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BlockStorageHelper) GetBlockLazy ¶
func (_m *BlockStorageHelper) GetBlockLazy(ctx context.Context, blockIdentifier *types.PartialBlockIdentifier) (*types.BlockResponse, error)
GetBlockLazy provides a mock function with given fields: ctx, blockIdentifier
type FetcherHelper ¶
FetcherHelper is an autogenerated mock type for the FetcherHelper type
func NewFetcherHelper ¶
func NewFetcherHelper(t mockConstructorTestingTNewFetcherHelper) *FetcherHelper
NewFetcherHelper creates a new instance of FetcherHelper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FetcherHelper) AccountBalanceRetry ¶
func (_m *FetcherHelper) AccountBalanceRetry(ctx context.Context, network *types.NetworkIdentifier, account *types.AccountIdentifier, block *types.PartialBlockIdentifier, currencies []*types.Currency) (*types.BlockIdentifier, []*types.Amount, map[string]interface{}, *fetcher.Error)
AccountBalanceRetry provides a mock function with given fields: ctx, network, account, block, currencies
func (*FetcherHelper) AccountCoinsRetry ¶
func (_m *FetcherHelper) AccountCoinsRetry(ctx context.Context, network *types.NetworkIdentifier, acct *types.AccountIdentifier, includeMempool bool, currencies []*types.Currency) (*types.BlockIdentifier, []*types.Coin, map[string]interface{}, *fetcher.Error)
AccountCoinsRetry provides a mock function with given fields: ctx, network, acct, includeMempool, currencies
func (*FetcherHelper) NetworkList ¶
func (_m *FetcherHelper) NetworkList(ctx context.Context, metadata map[string]interface{}) (*types.NetworkListResponse, *fetcher.Error)
NetworkList provides a mock function with given fields: ctx, metadata
func (*FetcherHelper) NetworkStatusRetry ¶
func (_m *FetcherHelper) NetworkStatusRetry(ctx context.Context, network *types.NetworkIdentifier, metadata map[string]interface{}) (*types.NetworkStatusResponse, *fetcher.Error)
NetworkStatusRetry provides a mock function with given fields: ctx, network, metadata