Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeCurrencyCode ¶
NormalizeCurrencyCode standardizes the format for the given currency code
Types ¶
type BitfinexDecoder ¶
type BitfinexDecoder struct{}
type BittrexDecoder ¶
type BittrexDecoder struct{}
type ExchangeRateDecoder ¶
type ExchangeRateDecoder interface {
// contains filtered or unexported methods
}
type ExchangeRateProvider ¶
type ExchangeRateProvider struct {
// contains filtered or unexported fields
}
type KrakenDecoder ¶
type KrakenDecoder struct{}
type OpenBazaarDecoder ¶
type OpenBazaarDecoder struct{}
type PoloniexDecoder ¶
type PoloniexDecoder struct{}
type ZcashPriceFetcher ¶
func NewZcashPriceFetcher ¶
func NewZcashPriceFetcher(dialer proxy.Dialer) *ZcashPriceFetcher
func (*ZcashPriceFetcher) GetAllRates ¶
func (z *ZcashPriceFetcher) GetAllRates(cacheOK bool) (map[string]float64, error)
func (*ZcashPriceFetcher) GetExchangeRate ¶
func (z *ZcashPriceFetcher) GetExchangeRate(currencyCode string) (float64, error)
func (*ZcashPriceFetcher) GetLatestRate ¶
func (z *ZcashPriceFetcher) GetLatestRate(currencyCode string) (float64, error)
func (*ZcashPriceFetcher) UnitsPerCoin ¶
func (z *ZcashPriceFetcher) UnitsPerCoin() int
Click to show internal directories.
Click to hide internal directories.