 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const SatoshiPerBTC = 100000000
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitPayDecoder ¶ added in v0.5.3
type BitPayDecoder struct{}
    type BitcoinAverageDecoder ¶ added in v0.5.3
type BitcoinAverageDecoder struct{}
    empty structs to tag the different ExchangeRateDecoder implementations
type BitcoinChartsDecoder ¶ added in v0.5.3
type BitcoinChartsDecoder struct{}
    type BitcoinPriceFetcher ¶
func NewBitcoinPriceFetcher ¶
func NewBitcoinPriceFetcher(dialer proxy.Dialer) *BitcoinPriceFetcher
func (*BitcoinPriceFetcher) GetAllRates ¶ added in v0.2.2
func (b *BitcoinPriceFetcher) GetAllRates(cacheOK bool) (map[string]float64, error)
func (*BitcoinPriceFetcher) GetExchangeRate ¶
func (b *BitcoinPriceFetcher) GetExchangeRate(currencyCode string) (float64, error)
func (*BitcoinPriceFetcher) GetLatestRate ¶
func (b *BitcoinPriceFetcher) GetLatestRate(currencyCode string) (float64, error)
func (*BitcoinPriceFetcher) UnitsPerCoin ¶ added in v0.1.2
func (b *BitcoinPriceFetcher) UnitsPerCoin() int
type BlockchainInfoDecoder ¶ added in v0.5.3
type BlockchainInfoDecoder struct{}
    type ExchangeRateDecoder ¶ added in v0.5.3
type ExchangeRateDecoder interface {
	// contains filtered or unexported methods
}
    type ExchangeRateProvider ¶
type ExchangeRateProvider struct {
	// contains filtered or unexported fields
}
     Click to show internal directories. 
   Click to hide internal directories.