Documentation ¶
Index ¶
- type BitcoinCashPriceFetcher
- func (b *BitcoinCashPriceFetcher) GetAllRates() (map[string]float64, error)
- func (b *BitcoinCashPriceFetcher) GetExchangeRate(currencyCode string) (float64, error)
- func (b *BitcoinCashPriceFetcher) GetLatestRate(currencyCode string) (float64, error)
- func (b *BitcoinCashPriceFetcher) UnitsPerCoin() int
- type ExchangeRateDecoder
- type ExchangeRateProvider
- type KrakenDecoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitcoinCashPriceFetcher ¶
func NewBitcoinCashPriceFetcher ¶
func NewBitcoinCashPriceFetcher(dialer proxy.Dialer) *BitcoinCashPriceFetcher
func (*BitcoinCashPriceFetcher) GetAllRates ¶
func (b *BitcoinCashPriceFetcher) GetAllRates() (map[string]float64, error)
func (*BitcoinCashPriceFetcher) GetExchangeRate ¶
func (b *BitcoinCashPriceFetcher) GetExchangeRate(currencyCode string) (float64, error)
func (*BitcoinCashPriceFetcher) GetLatestRate ¶
func (b *BitcoinCashPriceFetcher) GetLatestRate(currencyCode string) (float64, error)
func (*BitcoinCashPriceFetcher) UnitsPerCoin ¶
func (b *BitcoinCashPriceFetcher) UnitsPerCoin() int
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{}
Click to show internal directories.
Click to hide internal directories.