package
0.0.0-20250311023717-5c21e974eed8
Repository: https://github.com/thrasher-corp/gocryptotrader.git
Documentation: pkg.go.dev

# Constants

Crypto request type.
ErrStrAddressNotSet message to return when address is empty.
ErrStrAmountMustBeGreaterThanZero message to return when requested amount is less than 0.
ErrStrCurrencyNotCrypto message to return when requested currency is not crypto.
ErrStrCurrencyNotFiat message to return when requested currency is not fiat.
ErrStrFeeCannotBeNegative message to return when fee amount is negative.
ErrStrNoCurrencySet message to return when no currency is set.
Fiat request type.
Unknown request type.

# Variables

Cache LRU cache for recent requests.
CacheSize cache size to use for withdrawal request history.
DryRunID uuid to use for dryruns.
ErrExchangeNameUnset message to return when an exchange name is unset.
ErrInvalidRequest message to return when a request type is invalid.
ErrRequestCannotBeNil message to return when a request is nil.
ErrStrAddressNotWhiteListed occurs when a withdrawal attempts to withdraw from a non-whitelisted address.
ErrStrExchangeNotSupportedByAddress message to return when attemptign to withdraw to an unsupported exchange.

# Structs

CryptoRequest stores the info required for a crypto withdrawal request.
ExchangeResponse holds information returned from an exchange.
FiatRequest used for fiat withdrawal requests.
Request holds complete details for request.
Response holds complete details for Response.

# Type aliases

RequestType used for easy matching of int type to Word.