package
0.0.0-20220227125124-55c481faa64e
Repository: https://github.com/payshares/go.git
Documentation: pkg.go.dev

# 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.
ErrTransactionNotFailed is the error returned from a call to ResultCodes() against a `Problem` value that is not of type "transaction_failed".

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Client struct contains data required to connect to Horizon instance.
Error struct contains the problem returned by Horizon.
No description provided by the author
No description provided by the author
No description provided by the author
MockClient is a mockable horizon client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TransactionResultCodes represent a summary of result codes returned from a single xdr TransactionResult.
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

At is a paging parameter that can be used to override the URL loaded in a remote method call to horizon.
Cursor represents `cursor` param in queries.
LedgerHandler is a function that is called when a new ledger is received.
Limit represents `limit` param in queries.
Order represents `order` param in queries.
PaymentHandler is a function that is called when a new payment is received.
TransactionHandler is a function that is called when a new transaction is received.