exchangerates

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitcoinCashPriceFetcher

type BitcoinCashPriceFetcher struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewBitcoinCashPriceFetcher

func NewBitcoinCashPriceFetcher(dialer proxy.Dialer) *BitcoinCashPriceFetcher

func (*BitcoinCashPriceFetcher) GetAllRates

func (b *BitcoinCashPriceFetcher) GetAllRates(cacheOK bool) (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 BitfinexDecoder added in v1.1.2

type BitfinexDecoder struct{}

type BittrexDecoder added in v1.1.2

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 added in v1.1.2

type OpenBazaarDecoder struct{}

type PoloniexDecoder added in v1.1.2

type PoloniexDecoder struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL