Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderUserAgent = "User-Agent" HeaderRealIP = "X-Real-Ip" HeaderForwardedFor = "X-Forwarded-For" HeaderForwardedHost = "X-Forwarded-Host" HeaderHost = "Host" DSL = "dsl" FileExtension = ".gold" HeaderID = "X-Request-Id" IdempotencyKey = "X-Idempotency" IdempotencyTTL = "X-TTL" Authorization = "Authorization" Basic = "Basic" BasicAuth = "Basic Auth" WWWAuthenticate = "WWW-Authenticate" )
View Source
const ( MetadataID = "metadata_id" MetadataTraceparent = "traceparent" MetadataAuthorization = "authorization" )
View Source
const ( DEBIT = "DEBIT" CREDIT = "CREDIT" DefaultExternalAccountAliasPrefix = "@external/" ExternalAccountType = "external" )
Variables ¶
View Source
var ( ErrInsufficientFunds = errors.New("0018") ErrAccountIneligibility = errors.New("0019") ErrAccountStatusTransactionRestriction = errors.New("0024") ErrAssetCodeNotFound = errors.New("0034") ErrTransactionValueMismatch = errors.New("0073") ErrTransactionAmbiguous = errors.New("0090") ErrOverFlowInt64 = errors.New("0097") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.