Documentation ¶
Index ¶
- type FakeHorizonClient
- func (c *FakeHorizonClient) LoadAccount(accountID string) (horizon.Account, error)
- func (c *FakeHorizonClient) Root() (horizon.Root, error)
- func (c *FakeHorizonClient) SequenceForAccount(accountID string) (xdr.SequenceNumber, error)
- func (c *FakeHorizonClient) StreamLedgers(ctx context.Context, cursor *horizon.Cursor, handler horizon.LedgerHandler) error
- func (c *FakeHorizonClient) StreamTransactions(ctx context.Context, accountID string, cursor *horizon.Cursor, ...) error
- func (c *FakeHorizonClient) SubmitTransaction(txeBase64 string) (horizon.TransactionSuccess, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHorizonClient ¶
type FakeHorizonClient struct {
// contains filtered or unexported fields
}
func (*FakeHorizonClient) LoadAccount ¶
func (c *FakeHorizonClient) LoadAccount(accountID string) (horizon.Account, error)
func (*FakeHorizonClient) SequenceForAccount ¶
func (c *FakeHorizonClient) SequenceForAccount(accountID string) (xdr.SequenceNumber, error)
func (*FakeHorizonClient) StreamLedgers ¶
func (c *FakeHorizonClient) StreamLedgers(ctx context.Context, cursor *horizon.Cursor, handler horizon.LedgerHandler) error
func (*FakeHorizonClient) StreamTransactions ¶
func (c *FakeHorizonClient) StreamTransactions(ctx context.Context, accountID string, cursor *horizon.Cursor, handler horizon.TransactionHandler) error
func (*FakeHorizonClient) SubmitTransaction ¶
func (c *FakeHorizonClient) SubmitTransaction(txeBase64 string) (horizon.TransactionSuccess, error)
Click to show internal directories.
Click to hide internal directories.