package
0.0.0-20190507022301-b1bd2f5c3845
Repository: https://github.com/gincoinc/go.git
Documentation: pkg.go.dev

# README

horizon

This package is deprecated use: horizonclient instead

# Constants

No description provided by the author
No description provided by the author

# Variables

DefaultPublicNetClient is a default client to connect to public network.
DefaultTestNetClient is a default client to connect to test network.
ErrEnvelopeNotPopulated is the error returned from a call to Envelope() against a `Problem` value that doesn't have the "envelope_xdr" extra field populated when it is expected to be.
ErrResultCodesNotPopulated is the error returned from a call to ResultCodes() against a `Problem` value that doesn't have the "result_codes" extra field populated when it is expected to be.
ErrResultNotPopulated is the error returned from a call to Result() against a `Problem` value that doesn't have the "result_xdr" extra field populated when it is expected to be.

# Structs

Client struct contains data required to connect to Horizon instance It is okay to call methods on Client concurrently.
EffectResponse contains effect data returned by Horizon.
EffectsPageResponse contains page of effects returned by Horizon.
Error struct contains the problem returned by Horizon.
MockClient is a mockable horizon client.
OffersPage returns a list of offers.
No description provided by the author
Deprecated: use protocols/horizon instead.
TradeAggregationsPage returns a list of aggregated trade records, aggregated by resolution.
TradesPage returns a list of trade records.
No description provided by the author

# Interfaces

No description provided by the author
HTTP represents the HTTP client that a horizon client uses to communicate.

# Type aliases

Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
At is a paging parameter that can be used to override the URL loaded in a remote method call to horizon.
Deprecated: use protocols/horizon instead.
Cursor represents `cursor` param in queries.
EndTime is an integer values of timestamp.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
LedgerHandler is a function that is called when a new ledger is received.
Limit represents `limit` param in queries.
Deprecated: use render/hal instead.
Deprecated: use protocols/horizon instead.
Order represents `order` param in queries.
Deprecated: use protocols/horizon instead.
PaymentHandler is a function that is called when a new payment is received.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
StartTime is an integer values of timestamp.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.
TransactionHandler is a function that is called when a new transaction is received.
Deprecated: use protocols/horizon instead.
Deprecated: use protocols/horizon instead.