mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChain

type MockChain struct {
	mock.Mock
}

MockChain is an autogenerated mock type for the Chain type

func NewMockChain

func NewMockChain(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockChain

NewMockChain creates a new instance of MockChain. 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 (*MockChain) Close

func (_m *MockChain) Close() error

Close provides a mock function with no fields

func (*MockChain) Config

func (_m *MockChain) Config() *config.TOMLConfig

Config provides a mock function with no fields

func (*MockChain) EXPECT

func (_m *MockChain) EXPECT() *MockChain_Expecter

func (*MockChain) FinalizedHead

func (_m *MockChain) FinalizedHead(ctx context.Context) (types.Head, error)

FinalizedHead provides a mock function with given fields: ctx

func (*MockChain) GetChainInfo

func (_m *MockChain) GetChainInfo(ctx context.Context) (types.ChainInfo, error)

GetChainInfo provides a mock function with given fields: ctx

func (*MockChain) GetChainStatus

func (_m *MockChain) GetChainStatus(ctx context.Context) (types.ChainStatus, error)

GetChainStatus provides a mock function with given fields: ctx

func (*MockChain) GetClient

func (_m *MockChain) GetClient() (chain.RPCClient, error)

GetClient provides a mock function with no fields

func (*MockChain) HealthReport

func (_m *MockChain) HealthReport() map[string]error

HealthReport provides a mock function with no fields

func (*MockChain) ID

func (_m *MockChain) ID() string

ID provides a mock function with no fields

func (*MockChain) KeyStore

func (_m *MockChain) KeyStore() loop.Keystore

KeyStore provides a mock function with no fields

func (*MockChain) LatestHead

func (_m *MockChain) LatestHead(ctx context.Context) (types.Head, error)

LatestHead provides a mock function with given fields: ctx

func (*MockChain) ListNodeStatuses

func (_m *MockChain) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) ([]types.NodeStatus, string, int, error)

ListNodeStatuses provides a mock function with given fields: ctx, pageSize, pageToken

func (*MockChain) Name

func (_m *MockChain) Name() string

Name provides a mock function with no fields

func (*MockChain) Ready

func (_m *MockChain) Ready() error

Ready provides a mock function with no fields

func (*MockChain) Replay

func (_m *MockChain) Replay(ctx context.Context, fromBlock string, args map[string]any) error

Replay provides a mock function with given fields: ctx, fromBlock, args

func (*MockChain) Start

func (_m *MockChain) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

func (*MockChain) Transact

func (_m *MockChain) Transact(ctx context.Context, from string, to string, amount *big.Int, balanceCheck bool) error

Transact provides a mock function with given fields: ctx, from, to, amount, balanceCheck

func (*MockChain) TxManager

func (_m *MockChain) TxManager() *txm.StellarTxm

TxManager provides a mock function with no fields

type MockChain_Close_Call

type MockChain_Close_Call struct {
	*mock.Call
}

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

func (*MockChain_Close_Call) Return

func (*MockChain_Close_Call) Run

func (_c *MockChain_Close_Call) Run(run func()) *MockChain_Close_Call

func (*MockChain_Close_Call) RunAndReturn

func (_c *MockChain_Close_Call) RunAndReturn(run func() error) *MockChain_Close_Call

type MockChain_Config_Call

type MockChain_Config_Call struct {
	*mock.Call
}

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

func (*MockChain_Config_Call) Return

func (*MockChain_Config_Call) Run

func (_c *MockChain_Config_Call) Run(run func()) *MockChain_Config_Call

func (*MockChain_Config_Call) RunAndReturn

func (_c *MockChain_Config_Call) RunAndReturn(run func() *config.TOMLConfig) *MockChain_Config_Call

type MockChain_Expecter

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

func (*MockChain_Expecter) Close

Close is a helper method to define mock.On call

func (*MockChain_Expecter) Config

Config is a helper method to define mock.On call

func (*MockChain_Expecter) FinalizedHead

func (_e *MockChain_Expecter) FinalizedHead(ctx interface{}) *MockChain_FinalizedHead_Call

FinalizedHead is a helper method to define mock.On call

  • ctx context.Context

func (*MockChain_Expecter) GetChainInfo

func (_e *MockChain_Expecter) GetChainInfo(ctx interface{}) *MockChain_GetChainInfo_Call

GetChainInfo is a helper method to define mock.On call

  • ctx context.Context

func (*MockChain_Expecter) GetChainStatus

func (_e *MockChain_Expecter) GetChainStatus(ctx interface{}) *MockChain_GetChainStatus_Call

GetChainStatus is a helper method to define mock.On call

  • ctx context.Context

func (*MockChain_Expecter) GetClient

GetClient is a helper method to define mock.On call

func (*MockChain_Expecter) HealthReport

func (_e *MockChain_Expecter) HealthReport() *MockChain_HealthReport_Call

HealthReport is a helper method to define mock.On call

func (*MockChain_Expecter) ID

ID is a helper method to define mock.On call

func (*MockChain_Expecter) KeyStore

KeyStore is a helper method to define mock.On call

func (*MockChain_Expecter) LatestHead

func (_e *MockChain_Expecter) LatestHead(ctx interface{}) *MockChain_LatestHead_Call

LatestHead is a helper method to define mock.On call

  • ctx context.Context

func (*MockChain_Expecter) ListNodeStatuses

func (_e *MockChain_Expecter) ListNodeStatuses(ctx interface{}, pageSize interface{}, pageToken interface{}) *MockChain_ListNodeStatuses_Call

ListNodeStatuses is a helper method to define mock.On call

  • ctx context.Context
  • pageSize int32
  • pageToken string

func (*MockChain_Expecter) Name

Name is a helper method to define mock.On call

func (*MockChain_Expecter) Ready

Ready is a helper method to define mock.On call

func (*MockChain_Expecter) Replay

func (_e *MockChain_Expecter) Replay(ctx interface{}, fromBlock interface{}, args interface{}) *MockChain_Replay_Call

Replay is a helper method to define mock.On call

  • ctx context.Context
  • fromBlock string
  • args map[string]any

func (*MockChain_Expecter) Start

func (_e *MockChain_Expecter) Start(_a0 interface{}) *MockChain_Start_Call

Start is a helper method to define mock.On call

  • _a0 context.Context

func (*MockChain_Expecter) Transact

func (_e *MockChain_Expecter) Transact(ctx interface{}, from interface{}, to interface{}, amount interface{}, balanceCheck interface{}) *MockChain_Transact_Call

Transact is a helper method to define mock.On call

  • ctx context.Context
  • from string
  • to string
  • amount *big.Int
  • balanceCheck bool

func (*MockChain_Expecter) TxManager

TxManager is a helper method to define mock.On call

type MockChain_FinalizedHead_Call

type MockChain_FinalizedHead_Call struct {
	*mock.Call
}

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

func (*MockChain_FinalizedHead_Call) Return

func (*MockChain_FinalizedHead_Call) Run

func (*MockChain_FinalizedHead_Call) RunAndReturn

type MockChain_GetChainInfo_Call

type MockChain_GetChainInfo_Call struct {
	*mock.Call
}

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

func (*MockChain_GetChainInfo_Call) Return

func (*MockChain_GetChainInfo_Call) Run

func (*MockChain_GetChainInfo_Call) RunAndReturn

type MockChain_GetChainStatus_Call

type MockChain_GetChainStatus_Call struct {
	*mock.Call
}

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

func (*MockChain_GetChainStatus_Call) Return

func (*MockChain_GetChainStatus_Call) Run

func (*MockChain_GetChainStatus_Call) RunAndReturn

type MockChain_GetClient_Call

type MockChain_GetClient_Call struct {
	*mock.Call
}

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

func (*MockChain_GetClient_Call) Return

func (*MockChain_GetClient_Call) Run

func (*MockChain_GetClient_Call) RunAndReturn

func (_c *MockChain_GetClient_Call) RunAndReturn(run func() (chain.RPCClient, error)) *MockChain_GetClient_Call

type MockChain_HealthReport_Call

type MockChain_HealthReport_Call struct {
	*mock.Call
}

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

func (*MockChain_HealthReport_Call) Return

func (*MockChain_HealthReport_Call) Run

func (*MockChain_HealthReport_Call) RunAndReturn

func (_c *MockChain_HealthReport_Call) RunAndReturn(run func() map[string]error) *MockChain_HealthReport_Call

type MockChain_ID_Call

type MockChain_ID_Call struct {
	*mock.Call
}

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

func (*MockChain_ID_Call) Return

func (_c *MockChain_ID_Call) Return(_a0 string) *MockChain_ID_Call

func (*MockChain_ID_Call) Run

func (_c *MockChain_ID_Call) Run(run func()) *MockChain_ID_Call

func (*MockChain_ID_Call) RunAndReturn

func (_c *MockChain_ID_Call) RunAndReturn(run func() string) *MockChain_ID_Call

type MockChain_KeyStore_Call

type MockChain_KeyStore_Call struct {
	*mock.Call
}

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

func (*MockChain_KeyStore_Call) Return

func (*MockChain_KeyStore_Call) Run

func (_c *MockChain_KeyStore_Call) Run(run func()) *MockChain_KeyStore_Call

func (*MockChain_KeyStore_Call) RunAndReturn

func (_c *MockChain_KeyStore_Call) RunAndReturn(run func() loop.Keystore) *MockChain_KeyStore_Call

type MockChain_LatestHead_Call

type MockChain_LatestHead_Call struct {
	*mock.Call
}

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

func (*MockChain_LatestHead_Call) Return

func (*MockChain_LatestHead_Call) Run

func (*MockChain_LatestHead_Call) RunAndReturn

type MockChain_ListNodeStatuses_Call

type MockChain_ListNodeStatuses_Call struct {
	*mock.Call
}

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

func (*MockChain_ListNodeStatuses_Call) Return

func (_c *MockChain_ListNodeStatuses_Call) Return(stats []types.NodeStatus, nextPageToken string, total int, err error) *MockChain_ListNodeStatuses_Call

func (*MockChain_ListNodeStatuses_Call) Run

func (_c *MockChain_ListNodeStatuses_Call) Run(run func(ctx context.Context, pageSize int32, pageToken string)) *MockChain_ListNodeStatuses_Call

func (*MockChain_ListNodeStatuses_Call) RunAndReturn

type MockChain_Name_Call

type MockChain_Name_Call struct {
	*mock.Call
}

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

func (*MockChain_Name_Call) Return

func (*MockChain_Name_Call) Run

func (_c *MockChain_Name_Call) Run(run func()) *MockChain_Name_Call

func (*MockChain_Name_Call) RunAndReturn

func (_c *MockChain_Name_Call) RunAndReturn(run func() string) *MockChain_Name_Call

type MockChain_Ready_Call

type MockChain_Ready_Call struct {
	*mock.Call
}

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

func (*MockChain_Ready_Call) Return

func (*MockChain_Ready_Call) Run

func (_c *MockChain_Ready_Call) Run(run func()) *MockChain_Ready_Call

func (*MockChain_Ready_Call) RunAndReturn

func (_c *MockChain_Ready_Call) RunAndReturn(run func() error) *MockChain_Ready_Call

type MockChain_Replay_Call

type MockChain_Replay_Call struct {
	*mock.Call
}

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

func (*MockChain_Replay_Call) Return

func (*MockChain_Replay_Call) Run

func (_c *MockChain_Replay_Call) Run(run func(ctx context.Context, fromBlock string, args map[string]any)) *MockChain_Replay_Call

func (*MockChain_Replay_Call) RunAndReturn

func (_c *MockChain_Replay_Call) RunAndReturn(run func(context.Context, string, map[string]any) error) *MockChain_Replay_Call

type MockChain_Start_Call

type MockChain_Start_Call struct {
	*mock.Call
}

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

func (*MockChain_Start_Call) Return

func (*MockChain_Start_Call) Run

func (_c *MockChain_Start_Call) Run(run func(_a0 context.Context)) *MockChain_Start_Call

func (*MockChain_Start_Call) RunAndReturn

func (_c *MockChain_Start_Call) RunAndReturn(run func(context.Context) error) *MockChain_Start_Call

type MockChain_Transact_Call

type MockChain_Transact_Call struct {
	*mock.Call
}

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

func (*MockChain_Transact_Call) Return

func (*MockChain_Transact_Call) Run

func (_c *MockChain_Transact_Call) Run(run func(ctx context.Context, from string, to string, amount *big.Int, balanceCheck bool)) *MockChain_Transact_Call

func (*MockChain_Transact_Call) RunAndReturn

type MockChain_TxManager_Call

type MockChain_TxManager_Call struct {
	*mock.Call
}

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

func (*MockChain_TxManager_Call) Return

func (*MockChain_TxManager_Call) Run

func (*MockChain_TxManager_Call) RunAndReturn

func (_c *MockChain_TxManager_Call) RunAndReturn(run func() *txm.StellarTxm) *MockChain_TxManager_Call

type MockInvoker

type MockInvoker struct {
	mock.Mock
}

MockInvoker is an autogenerated mock type for the Invoker type

func NewMockInvoker

func NewMockInvoker(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockInvoker

NewMockInvoker creates a new instance of MockInvoker. 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 (*MockInvoker) EXPECT

func (_m *MockInvoker) EXPECT() *MockInvoker_Expecter

func (*MockInvoker) GetEvents

func (_m *MockInvoker) GetEvents(ctx context.Context, contractID string, startLedger uint32, topics []string) ([]protocol.EventInfo, error)

GetEvents provides a mock function with given fields: ctx, contractID, startLedger, topics

func (*MockInvoker) InvokeContract

func (_m *MockInvoker) InvokeContract(ctx context.Context, contractID string, functionName string, args []xdr.ScVal) (*xdr.ScVal, error)

InvokeContract provides a mock function with given fields: ctx, contractID, functionName, args

func (*MockInvoker) SimulateContract

func (_m *MockInvoker) SimulateContract(ctx context.Context, contractID string, functionName string, args []xdr.ScVal) (*xdr.ScVal, error)

SimulateContract provides a mock function with given fields: ctx, contractID, functionName, args

type MockInvoker_Expecter

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

func (*MockInvoker_Expecter) GetEvents

func (_e *MockInvoker_Expecter) GetEvents(ctx interface{}, contractID interface{}, startLedger interface{}, topics interface{}) *MockInvoker_GetEvents_Call

GetEvents is a helper method to define mock.On call

  • ctx context.Context
  • contractID string
  • startLedger uint32
  • topics []string

func (*MockInvoker_Expecter) InvokeContract

func (_e *MockInvoker_Expecter) InvokeContract(ctx interface{}, contractID interface{}, functionName interface{}, args interface{}) *MockInvoker_InvokeContract_Call

InvokeContract is a helper method to define mock.On call

  • ctx context.Context
  • contractID string
  • functionName string
  • args []xdr.ScVal

func (*MockInvoker_Expecter) SimulateContract

func (_e *MockInvoker_Expecter) SimulateContract(ctx interface{}, contractID interface{}, functionName interface{}, args interface{}) *MockInvoker_SimulateContract_Call

SimulateContract is a helper method to define mock.On call

  • ctx context.Context
  • contractID string
  • functionName string
  • args []xdr.ScVal

type MockInvoker_GetEvents_Call

type MockInvoker_GetEvents_Call struct {
	*mock.Call
}

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

func (*MockInvoker_GetEvents_Call) Return

func (*MockInvoker_GetEvents_Call) Run

func (_c *MockInvoker_GetEvents_Call) Run(run func(ctx context.Context, contractID string, startLedger uint32, topics []string)) *MockInvoker_GetEvents_Call

func (*MockInvoker_GetEvents_Call) RunAndReturn

type MockInvoker_InvokeContract_Call

type MockInvoker_InvokeContract_Call struct {
	*mock.Call
}

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

func (*MockInvoker_InvokeContract_Call) Return

func (*MockInvoker_InvokeContract_Call) Run

func (_c *MockInvoker_InvokeContract_Call) Run(run func(ctx context.Context, contractID string, functionName string, args []xdr.ScVal)) *MockInvoker_InvokeContract_Call

func (*MockInvoker_InvokeContract_Call) RunAndReturn

type MockInvoker_SimulateContract_Call

type MockInvoker_SimulateContract_Call struct {
	*mock.Call
}

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

func (*MockInvoker_SimulateContract_Call) Return

func (*MockInvoker_SimulateContract_Call) Run

func (_c *MockInvoker_SimulateContract_Call) Run(run func(ctx context.Context, contractID string, functionName string, args []xdr.ScVal)) *MockInvoker_SimulateContract_Call

func (*MockInvoker_SimulateContract_Call) RunAndReturn

type MockRPCClient

type MockRPCClient struct {
	mock.Mock
}

MockRPCClient is an autogenerated mock type for the RPCClient type

func NewMockRPCClient

func NewMockRPCClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRPCClient

NewMockRPCClient creates a new instance of MockRPCClient. 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 (*MockRPCClient) Close

func (_m *MockRPCClient) Close() error

Close provides a mock function with no fields

func (*MockRPCClient) EXPECT

func (_m *MockRPCClient) EXPECT() *MockRPCClient_Expecter

func (*MockRPCClient) GetEvents

GetEvents provides a mock function with given fields: ctx, req

func (*MockRPCClient) GetFeeStats

GetFeeStats provides a mock function with given fields: ctx

func (*MockRPCClient) GetLatestLedger

func (_m *MockRPCClient) GetLatestLedger(ctx context.Context) (protocol.GetLatestLedgerResponse, error)

GetLatestLedger provides a mock function with given fields: ctx

func (*MockRPCClient) GetLedgerEntries

GetLedgerEntries provides a mock function with given fields: ctx, req

func (*MockRPCClient) GetLedgers

GetLedgers provides a mock function with given fields: ctx, req

func (*MockRPCClient) GetTransaction

GetTransaction provides a mock function with given fields: ctx, req

func (*MockRPCClient) SendTransaction

SendTransaction provides a mock function with given fields: ctx, req

func (*MockRPCClient) SimulateTransaction

SimulateTransaction provides a mock function with given fields: ctx, req

type MockRPCClient_Close_Call

type MockRPCClient_Close_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_Close_Call) Return

func (*MockRPCClient_Close_Call) Run

func (*MockRPCClient_Close_Call) RunAndReturn

func (_c *MockRPCClient_Close_Call) RunAndReturn(run func() error) *MockRPCClient_Close_Call

type MockRPCClient_Expecter

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

func (*MockRPCClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockRPCClient_Expecter) GetEvents

func (_e *MockRPCClient_Expecter) GetEvents(ctx interface{}, req interface{}) *MockRPCClient_GetEvents_Call

GetEvents is a helper method to define mock.On call

  • ctx context.Context
  • req protocol.GetEventsRequest

func (*MockRPCClient_Expecter) GetFeeStats

func (_e *MockRPCClient_Expecter) GetFeeStats(ctx interface{}) *MockRPCClient_GetFeeStats_Call

GetFeeStats is a helper method to define mock.On call

  • ctx context.Context

func (*MockRPCClient_Expecter) GetLatestLedger

func (_e *MockRPCClient_Expecter) GetLatestLedger(ctx interface{}) *MockRPCClient_GetLatestLedger_Call

GetLatestLedger is a helper method to define mock.On call

  • ctx context.Context

func (*MockRPCClient_Expecter) GetLedgerEntries

func (_e *MockRPCClient_Expecter) GetLedgerEntries(ctx interface{}, req interface{}) *MockRPCClient_GetLedgerEntries_Call

GetLedgerEntries is a helper method to define mock.On call

  • ctx context.Context
  • req protocol.GetLedgerEntriesRequest

func (*MockRPCClient_Expecter) GetLedgers

func (_e *MockRPCClient_Expecter) GetLedgers(ctx interface{}, req interface{}) *MockRPCClient_GetLedgers_Call

GetLedgers is a helper method to define mock.On call

  • ctx context.Context
  • req protocol.GetLedgersRequest

func (*MockRPCClient_Expecter) GetTransaction

func (_e *MockRPCClient_Expecter) GetTransaction(ctx interface{}, req interface{}) *MockRPCClient_GetTransaction_Call

GetTransaction is a helper method to define mock.On call

  • ctx context.Context
  • req protocol.GetTransactionRequest

func (*MockRPCClient_Expecter) SendTransaction

func (_e *MockRPCClient_Expecter) SendTransaction(ctx interface{}, req interface{}) *MockRPCClient_SendTransaction_Call

SendTransaction is a helper method to define mock.On call

  • ctx context.Context
  • req protocol.SendTransactionRequest

func (*MockRPCClient_Expecter) SimulateTransaction

func (_e *MockRPCClient_Expecter) SimulateTransaction(ctx interface{}, req interface{}) *MockRPCClient_SimulateTransaction_Call

SimulateTransaction is a helper method to define mock.On call

  • ctx context.Context
  • req protocol.SimulateTransactionRequest

type MockRPCClient_GetEvents_Call

type MockRPCClient_GetEvents_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_GetEvents_Call) Return

func (*MockRPCClient_GetEvents_Call) Run

type MockRPCClient_GetFeeStats_Call

type MockRPCClient_GetFeeStats_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_GetFeeStats_Call) Return

func (*MockRPCClient_GetFeeStats_Call) Run

func (*MockRPCClient_GetFeeStats_Call) RunAndReturn

type MockRPCClient_GetLatestLedger_Call

type MockRPCClient_GetLatestLedger_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_GetLatestLedger_Call) Return

func (*MockRPCClient_GetLatestLedger_Call) Run

func (*MockRPCClient_GetLatestLedger_Call) RunAndReturn

type MockRPCClient_GetLedgerEntries_Call

type MockRPCClient_GetLedgerEntries_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_GetLedgerEntries_Call) Return

func (*MockRPCClient_GetLedgerEntries_Call) Run

type MockRPCClient_GetLedgers_Call

type MockRPCClient_GetLedgers_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_GetLedgers_Call) Return

func (*MockRPCClient_GetLedgers_Call) Run

type MockRPCClient_GetTransaction_Call

type MockRPCClient_GetTransaction_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_GetTransaction_Call) Return

func (*MockRPCClient_GetTransaction_Call) Run

type MockRPCClient_SendTransaction_Call

type MockRPCClient_SendTransaction_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_SendTransaction_Call) Return

func (*MockRPCClient_SendTransaction_Call) Run

type MockRPCClient_SimulateTransaction_Call

type MockRPCClient_SimulateTransaction_Call struct {
	*mock.Call
}

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

func (*MockRPCClient_SimulateTransaction_Call) Return

func (*MockRPCClient_SimulateTransaction_Call) Run

Jump to

Keyboard shortcuts

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