mocks

package
v0.0.0-...-24d0fbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distributor

type Distributor struct {
	mock.Mock
}

Distributor is an autogenerated mock type for the Distributor type

func NewDistributor

func NewDistributor(t interface {
	mock.TestingT
	Cleanup(func())
}) *Distributor

NewDistributor creates a new instance of Distributor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Distributor) Distribute

func (_m *Distributor) Distribute(ctx context.Context) (*mlm.DistributeResult, error)

Distribute provides a mock function with given fields: ctx

func (*Distributor) EXPECT

func (_m *Distributor) EXPECT() *Distributor_Expecter

type Distributor_Distribute_Call

type Distributor_Distribute_Call struct {
	*mock.Call
}

Distributor_Distribute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Distribute'

func (*Distributor_Distribute_Call) Return

func (*Distributor_Distribute_Call) Run

func (*Distributor_Distribute_Call) RunAndReturn

type Distributor_Expecter

type Distributor_Expecter struct {
	// contains filtered or unexported fields
}

func (*Distributor_Expecter) Distribute

func (_e *Distributor_Expecter) Distribute(ctx interface{}) *Distributor_Distribute_Call

Distribute is a helper method to define mock.On call

  • ctx context.Context

type HorizonClient

type HorizonClient struct {
	mock.Mock
}

HorizonClient is an autogenerated mock type for the HorizonClient type

func NewHorizonClient

func NewHorizonClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *HorizonClient

NewHorizonClient creates a new instance of HorizonClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*HorizonClient) AccountData

func (_m *HorizonClient) AccountData(request horizonclient.AccountRequest) (horizon.AccountData, error)

AccountData provides a mock function with given fields: request

func (*HorizonClient) AccountDetail

func (_m *HorizonClient) AccountDetail(request horizonclient.AccountRequest) (horizon.Account, error)

AccountDetail provides a mock function with given fields: request

func (*HorizonClient) Accounts

Accounts provides a mock function with given fields: request

func (*HorizonClient) Assets

Assets provides a mock function with given fields: request

func (*HorizonClient) AsyncSubmitFeeBumpTransaction

func (_m *HorizonClient) AsyncSubmitFeeBumpTransaction(transaction *txnbuild.FeeBumpTransaction) (horizon.AsyncTransactionSubmissionResponse, error)

AsyncSubmitFeeBumpTransaction provides a mock function with given fields: transaction

func (*HorizonClient) AsyncSubmitFeeBumpTransactionWithOptions

func (_m *HorizonClient) AsyncSubmitFeeBumpTransactionWithOptions(transaction *txnbuild.FeeBumpTransaction, opts horizonclient.SubmitTxOpts) (horizon.AsyncTransactionSubmissionResponse, error)

AsyncSubmitFeeBumpTransactionWithOptions provides a mock function with given fields: transaction, opts

func (*HorizonClient) AsyncSubmitTransaction

func (_m *HorizonClient) AsyncSubmitTransaction(transaction *txnbuild.Transaction) (horizon.AsyncTransactionSubmissionResponse, error)

AsyncSubmitTransaction provides a mock function with given fields: transaction

func (*HorizonClient) AsyncSubmitTransactionWithOptions

func (_m *HorizonClient) AsyncSubmitTransactionWithOptions(transaction *txnbuild.Transaction, opts horizonclient.SubmitTxOpts) (horizon.AsyncTransactionSubmissionResponse, error)

AsyncSubmitTransactionWithOptions provides a mock function with given fields: transaction, opts

func (*HorizonClient) AsyncSubmitTransactionXDR

func (_m *HorizonClient) AsyncSubmitTransactionXDR(transactionXdr string) (horizon.AsyncTransactionSubmissionResponse, error)

AsyncSubmitTransactionXDR provides a mock function with given fields: transactionXdr

func (*HorizonClient) EXPECT

func (_m *HorizonClient) EXPECT() *HorizonClient_Expecter

func (*HorizonClient) Effects

Effects provides a mock function with given fields: request

func (*HorizonClient) FeeStats

func (_m *HorizonClient) FeeStats() (horizon.FeeStats, error)

FeeStats provides a mock function with given fields:

func (*HorizonClient) Fund

func (_m *HorizonClient) Fund(addr string) (horizon.Transaction, error)

Fund provides a mock function with given fields: addr

func (*HorizonClient) HomeDomainForAccount

func (_m *HorizonClient) HomeDomainForAccount(aid string) (string, error)

HomeDomainForAccount provides a mock function with given fields: aid

func (*HorizonClient) LedgerDetail

func (_m *HorizonClient) LedgerDetail(sequence uint32) (horizon.Ledger, error)

LedgerDetail provides a mock function with given fields: sequence

func (*HorizonClient) Ledgers

Ledgers provides a mock function with given fields: request

func (*HorizonClient) LiquidityPoolDetail

func (_m *HorizonClient) LiquidityPoolDetail(request horizonclient.LiquidityPoolRequest) (horizon.LiquidityPool, error)

LiquidityPoolDetail provides a mock function with given fields: request

func (*HorizonClient) LiquidityPools

LiquidityPools provides a mock function with given fields: request

func (*HorizonClient) NextAccountsPage

func (_m *HorizonClient) NextAccountsPage(_a0 horizon.AccountsPage) (horizon.AccountsPage, error)

NextAccountsPage provides a mock function with given fields: _a0

func (*HorizonClient) NextAssetsPage

func (_m *HorizonClient) NextAssetsPage(_a0 horizon.AssetsPage) (horizon.AssetsPage, error)

NextAssetsPage provides a mock function with given fields: _a0

func (*HorizonClient) NextEffectsPage

func (_m *HorizonClient) NextEffectsPage(_a0 effects.EffectsPage) (effects.EffectsPage, error)

NextEffectsPage provides a mock function with given fields: _a0

func (*HorizonClient) NextLedgersPage

func (_m *HorizonClient) NextLedgersPage(_a0 horizon.LedgersPage) (horizon.LedgersPage, error)

NextLedgersPage provides a mock function with given fields: _a0

func (*HorizonClient) NextLiquidityPoolsPage

func (_m *HorizonClient) NextLiquidityPoolsPage(_a0 horizon.LiquidityPoolsPage) (horizon.LiquidityPoolsPage, error)

NextLiquidityPoolsPage provides a mock function with given fields: _a0

func (*HorizonClient) NextOffersPage

func (_m *HorizonClient) NextOffersPage(_a0 horizon.OffersPage) (horizon.OffersPage, error)

NextOffersPage provides a mock function with given fields: _a0

func (*HorizonClient) NextOperationsPage

func (_m *HorizonClient) NextOperationsPage(_a0 operations.OperationsPage) (operations.OperationsPage, error)

NextOperationsPage provides a mock function with given fields: _a0

func (*HorizonClient) NextPaymentsPage

NextPaymentsPage provides a mock function with given fields: _a0

func (*HorizonClient) NextTradeAggregationsPage

func (_m *HorizonClient) NextTradeAggregationsPage(_a0 horizon.TradeAggregationsPage) (horizon.TradeAggregationsPage, error)

NextTradeAggregationsPage provides a mock function with given fields: _a0

func (*HorizonClient) NextTradesPage

func (_m *HorizonClient) NextTradesPage(_a0 horizon.TradesPage) (horizon.TradesPage, error)

NextTradesPage provides a mock function with given fields: _a0

func (*HorizonClient) NextTransactionsPage

func (_m *HorizonClient) NextTransactionsPage(_a0 horizon.TransactionsPage) (horizon.TransactionsPage, error)

NextTransactionsPage provides a mock function with given fields: _a0

func (*HorizonClient) OfferDetails

func (_m *HorizonClient) OfferDetails(offerID string) (horizon.Offer, error)

OfferDetails provides a mock function with given fields: offerID

func (*HorizonClient) Offers

Offers provides a mock function with given fields: request

func (*HorizonClient) OperationDetail

func (_m *HorizonClient) OperationDetail(id string) (operations.Operation, error)

OperationDetail provides a mock function with given fields: id

func (*HorizonClient) Operations

Operations provides a mock function with given fields: request

func (*HorizonClient) OrderBook

OrderBook provides a mock function with given fields: request

func (*HorizonClient) Paths

Paths provides a mock function with given fields: request

func (*HorizonClient) Payments

Payments provides a mock function with given fields: request

func (*HorizonClient) PrevAssetsPage

func (_m *HorizonClient) PrevAssetsPage(_a0 horizon.AssetsPage) (horizon.AssetsPage, error)

PrevAssetsPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevEffectsPage

func (_m *HorizonClient) PrevEffectsPage(_a0 effects.EffectsPage) (effects.EffectsPage, error)

PrevEffectsPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevLedgersPage

func (_m *HorizonClient) PrevLedgersPage(_a0 horizon.LedgersPage) (horizon.LedgersPage, error)

PrevLedgersPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevLiquidityPoolsPage

func (_m *HorizonClient) PrevLiquidityPoolsPage(_a0 horizon.LiquidityPoolsPage) (horizon.LiquidityPoolsPage, error)

PrevLiquidityPoolsPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevOffersPage

func (_m *HorizonClient) PrevOffersPage(_a0 horizon.OffersPage) (horizon.OffersPage, error)

PrevOffersPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevOperationsPage

func (_m *HorizonClient) PrevOperationsPage(_a0 operations.OperationsPage) (operations.OperationsPage, error)

PrevOperationsPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevPaymentsPage

PrevPaymentsPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevTradeAggregationsPage

func (_m *HorizonClient) PrevTradeAggregationsPage(_a0 horizon.TradeAggregationsPage) (horizon.TradeAggregationsPage, error)

PrevTradeAggregationsPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevTradesPage

func (_m *HorizonClient) PrevTradesPage(_a0 horizon.TradesPage) (horizon.TradesPage, error)

PrevTradesPage provides a mock function with given fields: _a0

func (*HorizonClient) PrevTransactionsPage

func (_m *HorizonClient) PrevTransactionsPage(_a0 horizon.TransactionsPage) (horizon.TransactionsPage, error)

PrevTransactionsPage provides a mock function with given fields: _a0

func (*HorizonClient) Root

func (_m *HorizonClient) Root() (horizon.Root, error)

Root provides a mock function with given fields:

func (*HorizonClient) StreamEffects

func (_m *HorizonClient) StreamEffects(ctx context.Context, request horizonclient.EffectRequest, handler horizonclient.EffectHandler) error

StreamEffects provides a mock function with given fields: ctx, request, handler

func (*HorizonClient) StreamLedgers

func (_m *HorizonClient) StreamLedgers(ctx context.Context, request horizonclient.LedgerRequest, handler horizonclient.LedgerHandler) error

StreamLedgers provides a mock function with given fields: ctx, request, handler

func (*HorizonClient) StreamOffers

func (_m *HorizonClient) StreamOffers(ctx context.Context, request horizonclient.OfferRequest, handler horizonclient.OfferHandler) error

StreamOffers provides a mock function with given fields: ctx, request, handler

func (*HorizonClient) StreamOperations

func (_m *HorizonClient) StreamOperations(ctx context.Context, request horizonclient.OperationRequest, handler horizonclient.OperationHandler) error

StreamOperations provides a mock function with given fields: ctx, request, handler

func (*HorizonClient) StreamOrderBooks

func (_m *HorizonClient) StreamOrderBooks(ctx context.Context, request horizonclient.OrderBookRequest, handler horizonclient.OrderBookHandler) error

StreamOrderBooks provides a mock function with given fields: ctx, request, handler

func (*HorizonClient) StreamPayments

StreamPayments provides a mock function with given fields: ctx, request, handler

func (*HorizonClient) StreamTrades

func (_m *HorizonClient) StreamTrades(ctx context.Context, request horizonclient.TradeRequest, handler horizonclient.TradeHandler) error

StreamTrades provides a mock function with given fields: ctx, request, handler

func (*HorizonClient) StreamTransactions

StreamTransactions provides a mock function with given fields: ctx, request, handler

func (*HorizonClient) SubmitFeeBumpTransaction

func (_m *HorizonClient) SubmitFeeBumpTransaction(transaction *txnbuild.FeeBumpTransaction) (horizon.Transaction, error)

SubmitFeeBumpTransaction provides a mock function with given fields: transaction

func (*HorizonClient) SubmitFeeBumpTransactionWithOptions

func (_m *HorizonClient) SubmitFeeBumpTransactionWithOptions(transaction *txnbuild.FeeBumpTransaction, opts horizonclient.SubmitTxOpts) (horizon.Transaction, error)

SubmitFeeBumpTransactionWithOptions provides a mock function with given fields: transaction, opts

func (*HorizonClient) SubmitTransaction

func (_m *HorizonClient) SubmitTransaction(transaction *txnbuild.Transaction) (horizon.Transaction, error)

SubmitTransaction provides a mock function with given fields: transaction

func (*HorizonClient) SubmitTransactionWithOptions

func (_m *HorizonClient) SubmitTransactionWithOptions(transaction *txnbuild.Transaction, opts horizonclient.SubmitTxOpts) (horizon.Transaction, error)

SubmitTransactionWithOptions provides a mock function with given fields: transaction, opts

func (*HorizonClient) SubmitTransactionXDR

func (_m *HorizonClient) SubmitTransactionXDR(transactionXdr string) (horizon.Transaction, error)

SubmitTransactionXDR provides a mock function with given fields: transactionXdr

func (*HorizonClient) TradeAggregations

TradeAggregations provides a mock function with given fields: request

func (*HorizonClient) Trades

Trades provides a mock function with given fields: request

func (*HorizonClient) TransactionDetail

func (_m *HorizonClient) TransactionDetail(txHash string) (horizon.Transaction, error)

TransactionDetail provides a mock function with given fields: txHash

func (*HorizonClient) Transactions

Transactions provides a mock function with given fields: request

type HorizonClient_AccountData_Call

type HorizonClient_AccountData_Call struct {
	*mock.Call
}

HorizonClient_AccountData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountData'

func (*HorizonClient_AccountData_Call) Return

func (*HorizonClient_AccountData_Call) Run

func (*HorizonClient_AccountData_Call) RunAndReturn

type HorizonClient_AccountDetail_Call

type HorizonClient_AccountDetail_Call struct {
	*mock.Call
}

HorizonClient_AccountDetail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccountDetail'

func (*HorizonClient_AccountDetail_Call) Return

func (*HorizonClient_AccountDetail_Call) Run

func (*HorizonClient_AccountDetail_Call) RunAndReturn

type HorizonClient_Accounts_Call

type HorizonClient_Accounts_Call struct {
	*mock.Call
}

HorizonClient_Accounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Accounts'

func (*HorizonClient_Accounts_Call) Return

func (*HorizonClient_Accounts_Call) Run

func (*HorizonClient_Accounts_Call) RunAndReturn

type HorizonClient_Assets_Call

type HorizonClient_Assets_Call struct {
	*mock.Call
}

HorizonClient_Assets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Assets'

func (*HorizonClient_Assets_Call) Return

func (*HorizonClient_Assets_Call) Run

func (*HorizonClient_Assets_Call) RunAndReturn

type HorizonClient_AsyncSubmitFeeBumpTransactionWithOptions_Call

type HorizonClient_AsyncSubmitFeeBumpTransactionWithOptions_Call struct {
	*mock.Call
}

HorizonClient_AsyncSubmitFeeBumpTransactionWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncSubmitFeeBumpTransactionWithOptions'

func (*HorizonClient_AsyncSubmitFeeBumpTransactionWithOptions_Call) Run

type HorizonClient_AsyncSubmitFeeBumpTransaction_Call

type HorizonClient_AsyncSubmitFeeBumpTransaction_Call struct {
	*mock.Call
}

HorizonClient_AsyncSubmitFeeBumpTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncSubmitFeeBumpTransaction'

func (*HorizonClient_AsyncSubmitFeeBumpTransaction_Call) Run

type HorizonClient_AsyncSubmitTransactionWithOptions_Call

type HorizonClient_AsyncSubmitTransactionWithOptions_Call struct {
	*mock.Call
}

HorizonClient_AsyncSubmitTransactionWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncSubmitTransactionWithOptions'

func (*HorizonClient_AsyncSubmitTransactionWithOptions_Call) Run

type HorizonClient_AsyncSubmitTransactionXDR_Call

type HorizonClient_AsyncSubmitTransactionXDR_Call struct {
	*mock.Call
}

HorizonClient_AsyncSubmitTransactionXDR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncSubmitTransactionXDR'

func (*HorizonClient_AsyncSubmitTransactionXDR_Call) Run

type HorizonClient_AsyncSubmitTransaction_Call

type HorizonClient_AsyncSubmitTransaction_Call struct {
	*mock.Call
}

HorizonClient_AsyncSubmitTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AsyncSubmitTransaction'

func (*HorizonClient_AsyncSubmitTransaction_Call) Run

type HorizonClient_Effects_Call

type HorizonClient_Effects_Call struct {
	*mock.Call
}

HorizonClient_Effects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Effects'

func (*HorizonClient_Effects_Call) Return

func (*HorizonClient_Effects_Call) Run

func (*HorizonClient_Effects_Call) RunAndReturn

type HorizonClient_Expecter

type HorizonClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*HorizonClient_Expecter) AccountData

func (_e *HorizonClient_Expecter) AccountData(request interface{}) *HorizonClient_AccountData_Call

AccountData is a helper method to define mock.On call

  • request horizonclient.AccountRequest

func (*HorizonClient_Expecter) AccountDetail

func (_e *HorizonClient_Expecter) AccountDetail(request interface{}) *HorizonClient_AccountDetail_Call

AccountDetail is a helper method to define mock.On call

  • request horizonclient.AccountRequest

func (*HorizonClient_Expecter) Accounts

func (_e *HorizonClient_Expecter) Accounts(request interface{}) *HorizonClient_Accounts_Call

Accounts is a helper method to define mock.On call

  • request horizonclient.AccountsRequest

func (*HorizonClient_Expecter) Assets

func (_e *HorizonClient_Expecter) Assets(request interface{}) *HorizonClient_Assets_Call

Assets is a helper method to define mock.On call

  • request horizonclient.AssetRequest

func (*HorizonClient_Expecter) AsyncSubmitFeeBumpTransaction

func (_e *HorizonClient_Expecter) AsyncSubmitFeeBumpTransaction(transaction interface{}) *HorizonClient_AsyncSubmitFeeBumpTransaction_Call

AsyncSubmitFeeBumpTransaction is a helper method to define mock.On call

  • transaction *txnbuild.FeeBumpTransaction

func (*HorizonClient_Expecter) AsyncSubmitFeeBumpTransactionWithOptions

func (_e *HorizonClient_Expecter) AsyncSubmitFeeBumpTransactionWithOptions(transaction interface{}, opts interface{}) *HorizonClient_AsyncSubmitFeeBumpTransactionWithOptions_Call

AsyncSubmitFeeBumpTransactionWithOptions is a helper method to define mock.On call

  • transaction *txnbuild.FeeBumpTransaction
  • opts horizonclient.SubmitTxOpts

func (*HorizonClient_Expecter) AsyncSubmitTransaction

func (_e *HorizonClient_Expecter) AsyncSubmitTransaction(transaction interface{}) *HorizonClient_AsyncSubmitTransaction_Call

AsyncSubmitTransaction is a helper method to define mock.On call

  • transaction *txnbuild.Transaction

func (*HorizonClient_Expecter) AsyncSubmitTransactionWithOptions

func (_e *HorizonClient_Expecter) AsyncSubmitTransactionWithOptions(transaction interface{}, opts interface{}) *HorizonClient_AsyncSubmitTransactionWithOptions_Call

AsyncSubmitTransactionWithOptions is a helper method to define mock.On call

  • transaction *txnbuild.Transaction
  • opts horizonclient.SubmitTxOpts

func (*HorizonClient_Expecter) AsyncSubmitTransactionXDR

func (_e *HorizonClient_Expecter) AsyncSubmitTransactionXDR(transactionXdr interface{}) *HorizonClient_AsyncSubmitTransactionXDR_Call

AsyncSubmitTransactionXDR is a helper method to define mock.On call

  • transactionXdr string

func (*HorizonClient_Expecter) Effects

func (_e *HorizonClient_Expecter) Effects(request interface{}) *HorizonClient_Effects_Call

Effects is a helper method to define mock.On call

  • request horizonclient.EffectRequest

func (*HorizonClient_Expecter) FeeStats

FeeStats is a helper method to define mock.On call

func (*HorizonClient_Expecter) Fund

func (_e *HorizonClient_Expecter) Fund(addr interface{}) *HorizonClient_Fund_Call

Fund is a helper method to define mock.On call

  • addr string

func (*HorizonClient_Expecter) HomeDomainForAccount

func (_e *HorizonClient_Expecter) HomeDomainForAccount(aid interface{}) *HorizonClient_HomeDomainForAccount_Call

HomeDomainForAccount is a helper method to define mock.On call

  • aid string

func (*HorizonClient_Expecter) LedgerDetail

func (_e *HorizonClient_Expecter) LedgerDetail(sequence interface{}) *HorizonClient_LedgerDetail_Call

LedgerDetail is a helper method to define mock.On call

  • sequence uint32

func (*HorizonClient_Expecter) Ledgers

func (_e *HorizonClient_Expecter) Ledgers(request interface{}) *HorizonClient_Ledgers_Call

Ledgers is a helper method to define mock.On call

  • request horizonclient.LedgerRequest

func (*HorizonClient_Expecter) LiquidityPoolDetail

func (_e *HorizonClient_Expecter) LiquidityPoolDetail(request interface{}) *HorizonClient_LiquidityPoolDetail_Call

LiquidityPoolDetail is a helper method to define mock.On call

  • request horizonclient.LiquidityPoolRequest

func (*HorizonClient_Expecter) LiquidityPools

func (_e *HorizonClient_Expecter) LiquidityPools(request interface{}) *HorizonClient_LiquidityPools_Call

LiquidityPools is a helper method to define mock.On call

  • request horizonclient.LiquidityPoolsRequest

func (*HorizonClient_Expecter) NextAccountsPage

func (_e *HorizonClient_Expecter) NextAccountsPage(_a0 interface{}) *HorizonClient_NextAccountsPage_Call

NextAccountsPage is a helper method to define mock.On call

  • _a0 horizon.AccountsPage

func (*HorizonClient_Expecter) NextAssetsPage

func (_e *HorizonClient_Expecter) NextAssetsPage(_a0 interface{}) *HorizonClient_NextAssetsPage_Call

NextAssetsPage is a helper method to define mock.On call

  • _a0 horizon.AssetsPage

func (*HorizonClient_Expecter) NextEffectsPage

func (_e *HorizonClient_Expecter) NextEffectsPage(_a0 interface{}) *HorizonClient_NextEffectsPage_Call

NextEffectsPage is a helper method to define mock.On call

  • _a0 effects.EffectsPage

func (*HorizonClient_Expecter) NextLedgersPage

func (_e *HorizonClient_Expecter) NextLedgersPage(_a0 interface{}) *HorizonClient_NextLedgersPage_Call

NextLedgersPage is a helper method to define mock.On call

  • _a0 horizon.LedgersPage

func (*HorizonClient_Expecter) NextLiquidityPoolsPage

func (_e *HorizonClient_Expecter) NextLiquidityPoolsPage(_a0 interface{}) *HorizonClient_NextLiquidityPoolsPage_Call

NextLiquidityPoolsPage is a helper method to define mock.On call

  • _a0 horizon.LiquidityPoolsPage

func (*HorizonClient_Expecter) NextOffersPage

func (_e *HorizonClient_Expecter) NextOffersPage(_a0 interface{}) *HorizonClient_NextOffersPage_Call

NextOffersPage is a helper method to define mock.On call

  • _a0 horizon.OffersPage

func (*HorizonClient_Expecter) NextOperationsPage

func (_e *HorizonClient_Expecter) NextOperationsPage(_a0 interface{}) *HorizonClient_NextOperationsPage_Call

NextOperationsPage is a helper method to define mock.On call

  • _a0 operations.OperationsPage

func (*HorizonClient_Expecter) NextPaymentsPage

func (_e *HorizonClient_Expecter) NextPaymentsPage(_a0 interface{}) *HorizonClient_NextPaymentsPage_Call

NextPaymentsPage is a helper method to define mock.On call

  • _a0 operations.OperationsPage

func (*HorizonClient_Expecter) NextTradeAggregationsPage

func (_e *HorizonClient_Expecter) NextTradeAggregationsPage(_a0 interface{}) *HorizonClient_NextTradeAggregationsPage_Call

NextTradeAggregationsPage is a helper method to define mock.On call

  • _a0 horizon.TradeAggregationsPage

func (*HorizonClient_Expecter) NextTradesPage

func (_e *HorizonClient_Expecter) NextTradesPage(_a0 interface{}) *HorizonClient_NextTradesPage_Call

NextTradesPage is a helper method to define mock.On call

  • _a0 horizon.TradesPage

func (*HorizonClient_Expecter) NextTransactionsPage

func (_e *HorizonClient_Expecter) NextTransactionsPage(_a0 interface{}) *HorizonClient_NextTransactionsPage_Call

NextTransactionsPage is a helper method to define mock.On call

  • _a0 horizon.TransactionsPage

func (*HorizonClient_Expecter) OfferDetails

func (_e *HorizonClient_Expecter) OfferDetails(offerID interface{}) *HorizonClient_OfferDetails_Call

OfferDetails is a helper method to define mock.On call

  • offerID string

func (*HorizonClient_Expecter) Offers

func (_e *HorizonClient_Expecter) Offers(request interface{}) *HorizonClient_Offers_Call

Offers is a helper method to define mock.On call

  • request horizonclient.OfferRequest

func (*HorizonClient_Expecter) OperationDetail

func (_e *HorizonClient_Expecter) OperationDetail(id interface{}) *HorizonClient_OperationDetail_Call

OperationDetail is a helper method to define mock.On call

  • id string

func (*HorizonClient_Expecter) Operations

func (_e *HorizonClient_Expecter) Operations(request interface{}) *HorizonClient_Operations_Call

Operations is a helper method to define mock.On call

  • request horizonclient.OperationRequest

func (*HorizonClient_Expecter) OrderBook

func (_e *HorizonClient_Expecter) OrderBook(request interface{}) *HorizonClient_OrderBook_Call

OrderBook is a helper method to define mock.On call

  • request horizonclient.OrderBookRequest

func (*HorizonClient_Expecter) Paths

func (_e *HorizonClient_Expecter) Paths(request interface{}) *HorizonClient_Paths_Call

Paths is a helper method to define mock.On call

  • request horizonclient.PathsRequest

func (*HorizonClient_Expecter) Payments

func (_e *HorizonClient_Expecter) Payments(request interface{}) *HorizonClient_Payments_Call

Payments is a helper method to define mock.On call

  • request horizonclient.OperationRequest

func (*HorizonClient_Expecter) PrevAssetsPage

func (_e *HorizonClient_Expecter) PrevAssetsPage(_a0 interface{}) *HorizonClient_PrevAssetsPage_Call

PrevAssetsPage is a helper method to define mock.On call

  • _a0 horizon.AssetsPage

func (*HorizonClient_Expecter) PrevEffectsPage

func (_e *HorizonClient_Expecter) PrevEffectsPage(_a0 interface{}) *HorizonClient_PrevEffectsPage_Call

PrevEffectsPage is a helper method to define mock.On call

  • _a0 effects.EffectsPage

func (*HorizonClient_Expecter) PrevLedgersPage

func (_e *HorizonClient_Expecter) PrevLedgersPage(_a0 interface{}) *HorizonClient_PrevLedgersPage_Call

PrevLedgersPage is a helper method to define mock.On call

  • _a0 horizon.LedgersPage

func (*HorizonClient_Expecter) PrevLiquidityPoolsPage

func (_e *HorizonClient_Expecter) PrevLiquidityPoolsPage(_a0 interface{}) *HorizonClient_PrevLiquidityPoolsPage_Call

PrevLiquidityPoolsPage is a helper method to define mock.On call

  • _a0 horizon.LiquidityPoolsPage

func (*HorizonClient_Expecter) PrevOffersPage

func (_e *HorizonClient_Expecter) PrevOffersPage(_a0 interface{}) *HorizonClient_PrevOffersPage_Call

PrevOffersPage is a helper method to define mock.On call

  • _a0 horizon.OffersPage

func (*HorizonClient_Expecter) PrevOperationsPage

func (_e *HorizonClient_Expecter) PrevOperationsPage(_a0 interface{}) *HorizonClient_PrevOperationsPage_Call

PrevOperationsPage is a helper method to define mock.On call

  • _a0 operations.OperationsPage

func (*HorizonClient_Expecter) PrevPaymentsPage

func (_e *HorizonClient_Expecter) PrevPaymentsPage(_a0 interface{}) *HorizonClient_PrevPaymentsPage_Call

PrevPaymentsPage is a helper method to define mock.On call

  • _a0 operations.OperationsPage

func (*HorizonClient_Expecter) PrevTradeAggregationsPage

func (_e *HorizonClient_Expecter) PrevTradeAggregationsPage(_a0 interface{}) *HorizonClient_PrevTradeAggregationsPage_Call

PrevTradeAggregationsPage is a helper method to define mock.On call

  • _a0 horizon.TradeAggregationsPage

func (*HorizonClient_Expecter) PrevTradesPage

func (_e *HorizonClient_Expecter) PrevTradesPage(_a0 interface{}) *HorizonClient_PrevTradesPage_Call

PrevTradesPage is a helper method to define mock.On call

  • _a0 horizon.TradesPage

func (*HorizonClient_Expecter) PrevTransactionsPage

func (_e *HorizonClient_Expecter) PrevTransactionsPage(_a0 interface{}) *HorizonClient_PrevTransactionsPage_Call

PrevTransactionsPage is a helper method to define mock.On call

  • _a0 horizon.TransactionsPage

func (*HorizonClient_Expecter) Root

Root is a helper method to define mock.On call

func (*HorizonClient_Expecter) StreamEffects

func (_e *HorizonClient_Expecter) StreamEffects(ctx interface{}, request interface{}, handler interface{}) *HorizonClient_StreamEffects_Call

StreamEffects is a helper method to define mock.On call

  • ctx context.Context
  • request horizonclient.EffectRequest
  • handler horizonclient.EffectHandler

func (*HorizonClient_Expecter) StreamLedgers

func (_e *HorizonClient_Expecter) StreamLedgers(ctx interface{}, request interface{}, handler interface{}) *HorizonClient_StreamLedgers_Call

StreamLedgers is a helper method to define mock.On call

  • ctx context.Context
  • request horizonclient.LedgerRequest
  • handler horizonclient.LedgerHandler

func (*HorizonClient_Expecter) StreamOffers

func (_e *HorizonClient_Expecter) StreamOffers(ctx interface{}, request interface{}, handler interface{}) *HorizonClient_StreamOffers_Call

StreamOffers is a helper method to define mock.On call

  • ctx context.Context
  • request horizonclient.OfferRequest
  • handler horizonclient.OfferHandler

func (*HorizonClient_Expecter) StreamOperations

func (_e *HorizonClient_Expecter) StreamOperations(ctx interface{}, request interface{}, handler interface{}) *HorizonClient_StreamOperations_Call

StreamOperations is a helper method to define mock.On call

  • ctx context.Context
  • request horizonclient.OperationRequest
  • handler horizonclient.OperationHandler

func (*HorizonClient_Expecter) StreamOrderBooks

func (_e *HorizonClient_Expecter) StreamOrderBooks(ctx interface{}, request interface{}, handler interface{}) *HorizonClient_StreamOrderBooks_Call

StreamOrderBooks is a helper method to define mock.On call

  • ctx context.Context
  • request horizonclient.OrderBookRequest
  • handler horizonclient.OrderBookHandler

func (*HorizonClient_Expecter) StreamPayments

func (_e *HorizonClient_Expecter) StreamPayments(ctx interface{}, request interface{}, handler interface{}) *HorizonClient_StreamPayments_Call

StreamPayments is a helper method to define mock.On call

  • ctx context.Context
  • request horizonclient.OperationRequest
  • handler horizonclient.OperationHandler

func (*HorizonClient_Expecter) StreamTrades

func (_e *HorizonClient_Expecter) StreamTrades(ctx interface{}, request interface{}, handler interface{}) *HorizonClient_StreamTrades_Call

StreamTrades is a helper method to define mock.On call

  • ctx context.Context
  • request horizonclient.TradeRequest
  • handler horizonclient.TradeHandler

func (*HorizonClient_Expecter) StreamTransactions

func (_e *HorizonClient_Expecter) StreamTransactions(ctx interface{}, request interface{}, handler interface{}) *HorizonClient_StreamTransactions_Call

StreamTransactions is a helper method to define mock.On call

  • ctx context.Context
  • request horizonclient.TransactionRequest
  • handler horizonclient.TransactionHandler

func (*HorizonClient_Expecter) SubmitFeeBumpTransaction

func (_e *HorizonClient_Expecter) SubmitFeeBumpTransaction(transaction interface{}) *HorizonClient_SubmitFeeBumpTransaction_Call

SubmitFeeBumpTransaction is a helper method to define mock.On call

  • transaction *txnbuild.FeeBumpTransaction

func (*HorizonClient_Expecter) SubmitFeeBumpTransactionWithOptions

func (_e *HorizonClient_Expecter) SubmitFeeBumpTransactionWithOptions(transaction interface{}, opts interface{}) *HorizonClient_SubmitFeeBumpTransactionWithOptions_Call

SubmitFeeBumpTransactionWithOptions is a helper method to define mock.On call

  • transaction *txnbuild.FeeBumpTransaction
  • opts horizonclient.SubmitTxOpts

func (*HorizonClient_Expecter) SubmitTransaction

func (_e *HorizonClient_Expecter) SubmitTransaction(transaction interface{}) *HorizonClient_SubmitTransaction_Call

SubmitTransaction is a helper method to define mock.On call

  • transaction *txnbuild.Transaction

func (*HorizonClient_Expecter) SubmitTransactionWithOptions

func (_e *HorizonClient_Expecter) SubmitTransactionWithOptions(transaction interface{}, opts interface{}) *HorizonClient_SubmitTransactionWithOptions_Call

SubmitTransactionWithOptions is a helper method to define mock.On call

  • transaction *txnbuild.Transaction
  • opts horizonclient.SubmitTxOpts

func (*HorizonClient_Expecter) SubmitTransactionXDR

func (_e *HorizonClient_Expecter) SubmitTransactionXDR(transactionXdr interface{}) *HorizonClient_SubmitTransactionXDR_Call

SubmitTransactionXDR is a helper method to define mock.On call

  • transactionXdr string

func (*HorizonClient_Expecter) TradeAggregations

func (_e *HorizonClient_Expecter) TradeAggregations(request interface{}) *HorizonClient_TradeAggregations_Call

TradeAggregations is a helper method to define mock.On call

  • request horizonclient.TradeAggregationRequest

func (*HorizonClient_Expecter) Trades

func (_e *HorizonClient_Expecter) Trades(request interface{}) *HorizonClient_Trades_Call

Trades is a helper method to define mock.On call

  • request horizonclient.TradeRequest

func (*HorizonClient_Expecter) TransactionDetail

func (_e *HorizonClient_Expecter) TransactionDetail(txHash interface{}) *HorizonClient_TransactionDetail_Call

TransactionDetail is a helper method to define mock.On call

  • txHash string

func (*HorizonClient_Expecter) Transactions

func (_e *HorizonClient_Expecter) Transactions(request interface{}) *HorizonClient_Transactions_Call

Transactions is a helper method to define mock.On call

  • request horizonclient.TransactionRequest

type HorizonClient_FeeStats_Call

type HorizonClient_FeeStats_Call struct {
	*mock.Call
}

HorizonClient_FeeStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FeeStats'

func (*HorizonClient_FeeStats_Call) Return

func (*HorizonClient_FeeStats_Call) Run

func (*HorizonClient_FeeStats_Call) RunAndReturn

type HorizonClient_Fund_Call

type HorizonClient_Fund_Call struct {
	*mock.Call
}

HorizonClient_Fund_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fund'

func (*HorizonClient_Fund_Call) Return

func (*HorizonClient_Fund_Call) Run

func (_c *HorizonClient_Fund_Call) Run(run func(addr string)) *HorizonClient_Fund_Call

func (*HorizonClient_Fund_Call) RunAndReturn

type HorizonClient_HomeDomainForAccount_Call

type HorizonClient_HomeDomainForAccount_Call struct {
	*mock.Call
}

HorizonClient_HomeDomainForAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HomeDomainForAccount'

func (*HorizonClient_HomeDomainForAccount_Call) Return

func (*HorizonClient_HomeDomainForAccount_Call) Run

func (*HorizonClient_HomeDomainForAccount_Call) RunAndReturn

type HorizonClient_LedgerDetail_Call

type HorizonClient_LedgerDetail_Call struct {
	*mock.Call
}

HorizonClient_LedgerDetail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LedgerDetail'

func (*HorizonClient_LedgerDetail_Call) Return

func (*HorizonClient_LedgerDetail_Call) Run

func (*HorizonClient_LedgerDetail_Call) RunAndReturn

type HorizonClient_Ledgers_Call

type HorizonClient_Ledgers_Call struct {
	*mock.Call
}

HorizonClient_Ledgers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ledgers'

func (*HorizonClient_Ledgers_Call) Return

func (*HorizonClient_Ledgers_Call) Run

func (*HorizonClient_Ledgers_Call) RunAndReturn

type HorizonClient_LiquidityPoolDetail_Call

type HorizonClient_LiquidityPoolDetail_Call struct {
	*mock.Call
}

HorizonClient_LiquidityPoolDetail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LiquidityPoolDetail'

func (*HorizonClient_LiquidityPoolDetail_Call) Return

func (*HorizonClient_LiquidityPoolDetail_Call) Run

type HorizonClient_LiquidityPools_Call

type HorizonClient_LiquidityPools_Call struct {
	*mock.Call
}

HorizonClient_LiquidityPools_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LiquidityPools'

func (*HorizonClient_LiquidityPools_Call) Return

func (*HorizonClient_LiquidityPools_Call) Run

type HorizonClient_NextAccountsPage_Call

type HorizonClient_NextAccountsPage_Call struct {
	*mock.Call
}

HorizonClient_NextAccountsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextAccountsPage'

func (*HorizonClient_NextAccountsPage_Call) Return

func (*HorizonClient_NextAccountsPage_Call) Run

func (*HorizonClient_NextAccountsPage_Call) RunAndReturn

type HorizonClient_NextAssetsPage_Call

type HorizonClient_NextAssetsPage_Call struct {
	*mock.Call
}

HorizonClient_NextAssetsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextAssetsPage'

func (*HorizonClient_NextAssetsPage_Call) Return

func (*HorizonClient_NextAssetsPage_Call) Run

func (*HorizonClient_NextAssetsPage_Call) RunAndReturn

type HorizonClient_NextEffectsPage_Call

type HorizonClient_NextEffectsPage_Call struct {
	*mock.Call
}

HorizonClient_NextEffectsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextEffectsPage'

func (*HorizonClient_NextEffectsPage_Call) Return

func (*HorizonClient_NextEffectsPage_Call) Run

func (*HorizonClient_NextEffectsPage_Call) RunAndReturn

type HorizonClient_NextLedgersPage_Call

type HorizonClient_NextLedgersPage_Call struct {
	*mock.Call
}

HorizonClient_NextLedgersPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextLedgersPage'

func (*HorizonClient_NextLedgersPage_Call) Return

func (*HorizonClient_NextLedgersPage_Call) Run

func (*HorizonClient_NextLedgersPage_Call) RunAndReturn

type HorizonClient_NextLiquidityPoolsPage_Call

type HorizonClient_NextLiquidityPoolsPage_Call struct {
	*mock.Call
}

HorizonClient_NextLiquidityPoolsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextLiquidityPoolsPage'

func (*HorizonClient_NextLiquidityPoolsPage_Call) Return

func (*HorizonClient_NextLiquidityPoolsPage_Call) Run

type HorizonClient_NextOffersPage_Call

type HorizonClient_NextOffersPage_Call struct {
	*mock.Call
}

HorizonClient_NextOffersPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextOffersPage'

func (*HorizonClient_NextOffersPage_Call) Return

func (*HorizonClient_NextOffersPage_Call) Run

func (*HorizonClient_NextOffersPage_Call) RunAndReturn

type HorizonClient_NextOperationsPage_Call

type HorizonClient_NextOperationsPage_Call struct {
	*mock.Call
}

HorizonClient_NextOperationsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextOperationsPage'

func (*HorizonClient_NextOperationsPage_Call) Return

func (*HorizonClient_NextOperationsPage_Call) Run

func (*HorizonClient_NextOperationsPage_Call) RunAndReturn

type HorizonClient_NextPaymentsPage_Call

type HorizonClient_NextPaymentsPage_Call struct {
	*mock.Call
}

HorizonClient_NextPaymentsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextPaymentsPage'

func (*HorizonClient_NextPaymentsPage_Call) Return

func (*HorizonClient_NextPaymentsPage_Call) Run

func (*HorizonClient_NextPaymentsPage_Call) RunAndReturn

type HorizonClient_NextTradeAggregationsPage_Call

type HorizonClient_NextTradeAggregationsPage_Call struct {
	*mock.Call
}

HorizonClient_NextTradeAggregationsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextTradeAggregationsPage'

func (*HorizonClient_NextTradeAggregationsPage_Call) Return

func (*HorizonClient_NextTradeAggregationsPage_Call) Run

type HorizonClient_NextTradesPage_Call

type HorizonClient_NextTradesPage_Call struct {
	*mock.Call
}

HorizonClient_NextTradesPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextTradesPage'

func (*HorizonClient_NextTradesPage_Call) Return

func (*HorizonClient_NextTradesPage_Call) Run

func (*HorizonClient_NextTradesPage_Call) RunAndReturn

type HorizonClient_NextTransactionsPage_Call

type HorizonClient_NextTransactionsPage_Call struct {
	*mock.Call
}

HorizonClient_NextTransactionsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NextTransactionsPage'

func (*HorizonClient_NextTransactionsPage_Call) Return

func (*HorizonClient_NextTransactionsPage_Call) Run

func (*HorizonClient_NextTransactionsPage_Call) RunAndReturn

type HorizonClient_OfferDetails_Call

type HorizonClient_OfferDetails_Call struct {
	*mock.Call
}

HorizonClient_OfferDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OfferDetails'

func (*HorizonClient_OfferDetails_Call) Return

func (*HorizonClient_OfferDetails_Call) Run

func (*HorizonClient_OfferDetails_Call) RunAndReturn

type HorizonClient_Offers_Call

type HorizonClient_Offers_Call struct {
	*mock.Call
}

HorizonClient_Offers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Offers'

func (*HorizonClient_Offers_Call) Return

func (*HorizonClient_Offers_Call) Run

func (*HorizonClient_Offers_Call) RunAndReturn

type HorizonClient_OperationDetail_Call

type HorizonClient_OperationDetail_Call struct {
	*mock.Call
}

HorizonClient_OperationDetail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperationDetail'

func (*HorizonClient_OperationDetail_Call) Return

func (*HorizonClient_OperationDetail_Call) Run

func (*HorizonClient_OperationDetail_Call) RunAndReturn

type HorizonClient_Operations_Call

type HorizonClient_Operations_Call struct {
	*mock.Call
}

HorizonClient_Operations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Operations'

func (*HorizonClient_Operations_Call) Return

func (*HorizonClient_Operations_Call) Run

func (*HorizonClient_Operations_Call) RunAndReturn

type HorizonClient_OrderBook_Call

type HorizonClient_OrderBook_Call struct {
	*mock.Call
}

HorizonClient_OrderBook_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrderBook'

func (*HorizonClient_OrderBook_Call) Return

func (*HorizonClient_OrderBook_Call) Run

func (*HorizonClient_OrderBook_Call) RunAndReturn

type HorizonClient_Paths_Call

type HorizonClient_Paths_Call struct {
	*mock.Call
}

HorizonClient_Paths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Paths'

func (*HorizonClient_Paths_Call) Return

func (*HorizonClient_Paths_Call) Run

func (*HorizonClient_Paths_Call) RunAndReturn

type HorizonClient_Payments_Call

type HorizonClient_Payments_Call struct {
	*mock.Call
}

HorizonClient_Payments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Payments'

func (*HorizonClient_Payments_Call) Return

func (*HorizonClient_Payments_Call) Run

func (*HorizonClient_Payments_Call) RunAndReturn

type HorizonClient_PrevAssetsPage_Call

type HorizonClient_PrevAssetsPage_Call struct {
	*mock.Call
}

HorizonClient_PrevAssetsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevAssetsPage'

func (*HorizonClient_PrevAssetsPage_Call) Return

func (*HorizonClient_PrevAssetsPage_Call) Run

func (*HorizonClient_PrevAssetsPage_Call) RunAndReturn

type HorizonClient_PrevEffectsPage_Call

type HorizonClient_PrevEffectsPage_Call struct {
	*mock.Call
}

HorizonClient_PrevEffectsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevEffectsPage'

func (*HorizonClient_PrevEffectsPage_Call) Return

func (*HorizonClient_PrevEffectsPage_Call) Run

func (*HorizonClient_PrevEffectsPage_Call) RunAndReturn

type HorizonClient_PrevLedgersPage_Call

type HorizonClient_PrevLedgersPage_Call struct {
	*mock.Call
}

HorizonClient_PrevLedgersPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevLedgersPage'

func (*HorizonClient_PrevLedgersPage_Call) Return

func (*HorizonClient_PrevLedgersPage_Call) Run

func (*HorizonClient_PrevLedgersPage_Call) RunAndReturn

type HorizonClient_PrevLiquidityPoolsPage_Call

type HorizonClient_PrevLiquidityPoolsPage_Call struct {
	*mock.Call
}

HorizonClient_PrevLiquidityPoolsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevLiquidityPoolsPage'

func (*HorizonClient_PrevLiquidityPoolsPage_Call) Return

func (*HorizonClient_PrevLiquidityPoolsPage_Call) Run

type HorizonClient_PrevOffersPage_Call

type HorizonClient_PrevOffersPage_Call struct {
	*mock.Call
}

HorizonClient_PrevOffersPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevOffersPage'

func (*HorizonClient_PrevOffersPage_Call) Return

func (*HorizonClient_PrevOffersPage_Call) Run

func (*HorizonClient_PrevOffersPage_Call) RunAndReturn

type HorizonClient_PrevOperationsPage_Call

type HorizonClient_PrevOperationsPage_Call struct {
	*mock.Call
}

HorizonClient_PrevOperationsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevOperationsPage'

func (*HorizonClient_PrevOperationsPage_Call) Return

func (*HorizonClient_PrevOperationsPage_Call) Run

func (*HorizonClient_PrevOperationsPage_Call) RunAndReturn

type HorizonClient_PrevPaymentsPage_Call

type HorizonClient_PrevPaymentsPage_Call struct {
	*mock.Call
}

HorizonClient_PrevPaymentsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevPaymentsPage'

func (*HorizonClient_PrevPaymentsPage_Call) Return

func (*HorizonClient_PrevPaymentsPage_Call) Run

func (*HorizonClient_PrevPaymentsPage_Call) RunAndReturn

type HorizonClient_PrevTradeAggregationsPage_Call

type HorizonClient_PrevTradeAggregationsPage_Call struct {
	*mock.Call
}

HorizonClient_PrevTradeAggregationsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevTradeAggregationsPage'

func (*HorizonClient_PrevTradeAggregationsPage_Call) Return

func (*HorizonClient_PrevTradeAggregationsPage_Call) Run

type HorizonClient_PrevTradesPage_Call

type HorizonClient_PrevTradesPage_Call struct {
	*mock.Call
}

HorizonClient_PrevTradesPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevTradesPage'

func (*HorizonClient_PrevTradesPage_Call) Return

func (*HorizonClient_PrevTradesPage_Call) Run

func (*HorizonClient_PrevTradesPage_Call) RunAndReturn

type HorizonClient_PrevTransactionsPage_Call

type HorizonClient_PrevTransactionsPage_Call struct {
	*mock.Call
}

HorizonClient_PrevTransactionsPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrevTransactionsPage'

func (*HorizonClient_PrevTransactionsPage_Call) Return

func (*HorizonClient_PrevTransactionsPage_Call) Run

func (*HorizonClient_PrevTransactionsPage_Call) RunAndReturn

type HorizonClient_Root_Call

type HorizonClient_Root_Call struct {
	*mock.Call
}

HorizonClient_Root_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Root'

func (*HorizonClient_Root_Call) Return

func (*HorizonClient_Root_Call) Run

func (_c *HorizonClient_Root_Call) Run(run func()) *HorizonClient_Root_Call

func (*HorizonClient_Root_Call) RunAndReturn

func (_c *HorizonClient_Root_Call) RunAndReturn(run func() (horizon.Root, error)) *HorizonClient_Root_Call

type HorizonClient_StreamEffects_Call

type HorizonClient_StreamEffects_Call struct {
	*mock.Call
}

HorizonClient_StreamEffects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamEffects'

func (*HorizonClient_StreamEffects_Call) Return

func (*HorizonClient_StreamEffects_Call) Run

type HorizonClient_StreamLedgers_Call

type HorizonClient_StreamLedgers_Call struct {
	*mock.Call
}

HorizonClient_StreamLedgers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamLedgers'

func (*HorizonClient_StreamLedgers_Call) Return

func (*HorizonClient_StreamLedgers_Call) Run

type HorizonClient_StreamOffers_Call

type HorizonClient_StreamOffers_Call struct {
	*mock.Call
}

HorizonClient_StreamOffers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamOffers'

func (*HorizonClient_StreamOffers_Call) Return

func (*HorizonClient_StreamOffers_Call) Run

type HorizonClient_StreamOperations_Call

type HorizonClient_StreamOperations_Call struct {
	*mock.Call
}

HorizonClient_StreamOperations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamOperations'

func (*HorizonClient_StreamOperations_Call) Return

func (*HorizonClient_StreamOperations_Call) Run

type HorizonClient_StreamOrderBooks_Call

type HorizonClient_StreamOrderBooks_Call struct {
	*mock.Call
}

HorizonClient_StreamOrderBooks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamOrderBooks'

func (*HorizonClient_StreamOrderBooks_Call) Return

func (*HorizonClient_StreamOrderBooks_Call) Run

type HorizonClient_StreamPayments_Call

type HorizonClient_StreamPayments_Call struct {
	*mock.Call
}

HorizonClient_StreamPayments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamPayments'

func (*HorizonClient_StreamPayments_Call) Return

func (*HorizonClient_StreamPayments_Call) Run

type HorizonClient_StreamTrades_Call

type HorizonClient_StreamTrades_Call struct {
	*mock.Call
}

HorizonClient_StreamTrades_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamTrades'

func (*HorizonClient_StreamTrades_Call) Return

func (*HorizonClient_StreamTrades_Call) Run

type HorizonClient_StreamTransactions_Call

type HorizonClient_StreamTransactions_Call struct {
	*mock.Call
}

HorizonClient_StreamTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamTransactions'

func (*HorizonClient_StreamTransactions_Call) Return

func (*HorizonClient_StreamTransactions_Call) Run

type HorizonClient_SubmitFeeBumpTransactionWithOptions_Call

type HorizonClient_SubmitFeeBumpTransactionWithOptions_Call struct {
	*mock.Call
}

HorizonClient_SubmitFeeBumpTransactionWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitFeeBumpTransactionWithOptions'

func (*HorizonClient_SubmitFeeBumpTransactionWithOptions_Call) Return

func (*HorizonClient_SubmitFeeBumpTransactionWithOptions_Call) Run

type HorizonClient_SubmitFeeBumpTransaction_Call

type HorizonClient_SubmitFeeBumpTransaction_Call struct {
	*mock.Call
}

HorizonClient_SubmitFeeBumpTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitFeeBumpTransaction'

func (*HorizonClient_SubmitFeeBumpTransaction_Call) Return

func (*HorizonClient_SubmitFeeBumpTransaction_Call) Run

func (*HorizonClient_SubmitFeeBumpTransaction_Call) RunAndReturn

type HorizonClient_SubmitTransactionWithOptions_Call

type HorizonClient_SubmitTransactionWithOptions_Call struct {
	*mock.Call
}

HorizonClient_SubmitTransactionWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitTransactionWithOptions'

func (*HorizonClient_SubmitTransactionWithOptions_Call) Return

func (*HorizonClient_SubmitTransactionWithOptions_Call) Run

type HorizonClient_SubmitTransactionXDR_Call

type HorizonClient_SubmitTransactionXDR_Call struct {
	*mock.Call
}

HorizonClient_SubmitTransactionXDR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitTransactionXDR'

func (*HorizonClient_SubmitTransactionXDR_Call) Return

func (*HorizonClient_SubmitTransactionXDR_Call) Run

func (*HorizonClient_SubmitTransactionXDR_Call) RunAndReturn

type HorizonClient_SubmitTransaction_Call

type HorizonClient_SubmitTransaction_Call struct {
	*mock.Call
}

HorizonClient_SubmitTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubmitTransaction'

func (*HorizonClient_SubmitTransaction_Call) Return

func (*HorizonClient_SubmitTransaction_Call) Run

func (*HorizonClient_SubmitTransaction_Call) RunAndReturn

type HorizonClient_TradeAggregations_Call

type HorizonClient_TradeAggregations_Call struct {
	*mock.Call
}

HorizonClient_TradeAggregations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TradeAggregations'

func (*HorizonClient_TradeAggregations_Call) Return

func (*HorizonClient_TradeAggregations_Call) Run

type HorizonClient_Trades_Call

type HorizonClient_Trades_Call struct {
	*mock.Call
}

HorizonClient_Trades_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trades'

func (*HorizonClient_Trades_Call) Return

func (*HorizonClient_Trades_Call) Run

func (*HorizonClient_Trades_Call) RunAndReturn

type HorizonClient_TransactionDetail_Call

type HorizonClient_TransactionDetail_Call struct {
	*mock.Call
}

HorizonClient_TransactionDetail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionDetail'

func (*HorizonClient_TransactionDetail_Call) Return

func (*HorizonClient_TransactionDetail_Call) Run

func (*HorizonClient_TransactionDetail_Call) RunAndReturn

type HorizonClient_Transactions_Call

type HorizonClient_Transactions_Call struct {
	*mock.Call
}

HorizonClient_Transactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transactions'

func (*HorizonClient_Transactions_Call) Return

func (*HorizonClient_Transactions_Call) Run

type StellarAgregator

type StellarAgregator struct {
	mock.Mock
}

StellarAgregator is an autogenerated mock type for the StellarAgregator type

func NewStellarAgregator

func NewStellarAgregator(t interface {
	mock.TestingT
	Cleanup(func())
}) *StellarAgregator

NewStellarAgregator creates a new instance of StellarAgregator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*StellarAgregator) Balance

func (_m *StellarAgregator) Balance(ctx context.Context, accountID string, asset string, issuer string) (string, error)

Balance provides a mock function with given fields: ctx, accountID, asset, issuer

func (*StellarAgregator) EXPECT

func (*StellarAgregator) Recommenders

Recommenders provides a mock function with given fields: ctx

type StellarAgregator_Balance_Call

type StellarAgregator_Balance_Call struct {
	*mock.Call
}

StellarAgregator_Balance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Balance'

func (*StellarAgregator_Balance_Call) Return

func (*StellarAgregator_Balance_Call) Run

func (_c *StellarAgregator_Balance_Call) Run(run func(ctx context.Context, accountID string, asset string, issuer string)) *StellarAgregator_Balance_Call

func (*StellarAgregator_Balance_Call) RunAndReturn

type StellarAgregator_Expecter

type StellarAgregator_Expecter struct {
	// contains filtered or unexported fields
}

func (*StellarAgregator_Expecter) Balance

func (_e *StellarAgregator_Expecter) Balance(ctx interface{}, accountID interface{}, asset interface{}, issuer interface{}) *StellarAgregator_Balance_Call

Balance is a helper method to define mock.On call

  • ctx context.Context
  • accountID string
  • asset string
  • issuer string

func (*StellarAgregator_Expecter) Recommenders

func (_e *StellarAgregator_Expecter) Recommenders(ctx interface{}) *StellarAgregator_Recommenders_Call

Recommenders is a helper method to define mock.On call

  • ctx context.Context

type StellarAgregator_Recommenders_Call

type StellarAgregator_Recommenders_Call struct {
	*mock.Call
}

StellarAgregator_Recommenders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recommenders'

func (*StellarAgregator_Recommenders_Call) Return

func (*StellarAgregator_Recommenders_Call) Run

func (*StellarAgregator_Recommenders_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL