Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinPricesCache ¶
type CoinPricesCache struct { Prices map[string]decimal.Decimal // contains filtered or unexported fields }
func NewCoinPricesCache ¶
func NewCoinPricesCache(priceFile string) *CoinPricesCache
func (*CoinPricesCache) GetPriceByTime ¶
func (*CoinPricesCache) InitCache ¶
func (cpc *CoinPricesCache) InitCache()
load the csv file with prices into a map
Click to show internal directories.
Click to hide internal directories.