Documentation
¶
Index ¶
- func HarvestCachePath(cacheDir string) string
- func LoadHarvestCache(cacheDir string, maxAge time.Duration) ([]model.ProxyRecord, bool, error)
- func LoadSourceHealth(cacheDir string) (map[string]model.SourceHealth, error)
- func SaveHarvestCache(cacheDir string, records []model.ProxyRecord) error
- func SaveSourceHealth(cacheDir string, health map[string]model.SourceHealth) error
- func SourceHealthPath(cacheDir string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HarvestCachePath ¶
func LoadHarvestCache ¶
func LoadSourceHealth ¶
func LoadSourceHealth(cacheDir string) (map[string]model.SourceHealth, error)
func SaveHarvestCache ¶
func SaveHarvestCache(cacheDir string, records []model.ProxyRecord) error
func SaveSourceHealth ¶
func SaveSourceHealth(cacheDir string, health map[string]model.SourceHealth) error
func SourceHealthPath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.