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

# Functions

NewPaymentPendingError creates a new PaymentPending error.

# Constants

OperationTypeAccountMerge represents account_merge operation.
OperationTypeAllowTrust represents allow_trust operation.
OperationTypeChangeTrust represents change_trust operation.
OperationTypeCreateAccount represents create_account operation.
OperationTypeCreatePassiveOffer represents create_passive_offer operation.
OperationTypeInflation represents inflation operation.
OperationTypeManageData represents manage_data operation.
OperationTypeManageOffer represents manage_offer operation.
OperationTypePathPayment represents path_payment operation.
OperationTypePayment represents payment operation.
OperationTypeSetOptions represents set_options operation.

# Variables

PaymentAssetCodeNotAllowed is an error response.
PaymentCannotResolveDestination is an error response.
PaymentCannotUseMemo is an error response.
PaymentDenied is an error response.
PaymentPending is an error response.
PaymentSourceNotExist is an error response.

# Structs

AccountMergeOperationBody represents account_merge operation.
AllowTrustOperationBody represents allow_trust operation.
AuthorizeRequest represents request made to /authorize endpoint of bridge server.
BuilderRequest represents request made to /builder endpoint of bridge server.
BuilderResponse represents response returned by /builder endpoint of bridge server.
ChangeTrustOperationBody represents change_trust operation.
CreateAccountOperationBody represents create_account operation.
InflationOperationBody represents inflation operation.
ManageDataOperationBody represents manage_data operation.
ManageOfferOperationBody represents manage_offer operation.
Operation struct contains operation type and body.
PathPaymentOperationBody represents path_payment operation.
PaymentOperationBody represents payment operation.
PaymentRequest represents request made to /payment endpoint of the bridge server.
ReprocessRequest represents request made to /reprocess endpoint of bridge server.
ReprocessResponse represents a response returned by /reprocess endpoint.
SetOptionsOperationBody represents set_options operation.
SetOptionsSigner is a struct that representing signer in SetOptions operation body.

# Interfaces

OperationBody interface is a common interface for builder operations.

# Type aliases

OperationType is the type of operation.