Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartHistorySaveLoop ¶
func StartHistorySaveLoop()
Types ¶
type HistoryRecord ¶
type PriceStorage ¶
type PriceStorage struct {
// contains filtered or unexported fields
}
func New ¶
func New(managerName string) *PriceStorage
func (*PriceStorage) CacheFile ¶
func (c *PriceStorage) CacheFile() string
func (*PriceStorage) LastFetch ¶
func (c *PriceStorage) LastFetch() time.Time
func (*PriceStorage) Load ¶
func (c *PriceStorage) Load() error
func (*PriceStorage) Save ¶
func (c *PriceStorage) Save() error
func (*PriceStorage) Update ¶
func (c *PriceStorage) Update(prices map[string]float64)
Click to show internal directories.
Click to hide internal directories.