Files
ynab-portfolio-monitor/providers/staticjsonYahooFinance/cache.go
T
2025-05-07 19:59:30 -06:00

16 lines
251 B
Go

package staticjsonYahooFinance
import (
"time"
)
const cacheAgeSeconds = 900
// intialized in providerImpl.go's Configure
var chartCache map[string]chartCacheEntry
type chartCacheEntry struct {
Chart chartResponse
LastUpdated time.Time
}