constant

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2025 License: Apache-2.0 Imports: 1 Imported by: 1

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

type Order

type Order string
const (
	Asc  Order = "asc"
	Desc Order = "desc"
)

Order is a type that represents the ordering of a list.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL