Documentation ¶
Index ¶
Constants ¶
View Source
const SatoshiPerBTC = 100000000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitcoinAverage ¶
type BitcoinAverage struct {
// contains filtered or unexported fields
}
type BitcoinCharts ¶
type BitcoinCharts struct {
// contains filtered or unexported fields
}
type BitcoinPriceFetcher ¶
func NewBitcoinPriceFetcher ¶
func NewBitcoinPriceFetcher(dialer proxy.Dialer) *BitcoinPriceFetcher
func (*BitcoinPriceFetcher) GetAllRates ¶ added in v0.2.2
func (b *BitcoinPriceFetcher) GetAllRates() (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 BlockchainInfo ¶
type BlockchainInfo struct {
// contains filtered or unexported fields
}
type ExchangeRateProvider ¶
type ExchangeRateProvider interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.